Skip to content

Commit

Permalink
adjusted workflows #7
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Mar 1, 2023
1 parent 4d40699 commit 42ada80
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8
pip install -r requirements.txt
python -m pip install -r requirements.txt
- name: Lint with flake8
run: |
Expand All @@ -59,7 +59,6 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:

- name: Checkout repository
uses: actions/checkout@v3

Expand All @@ -72,7 +71,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install pytest
pip install -r requirements.txt
python -m pip install -r requirements.txt
- name: Install package
run: python setup.py install
Expand Down Expand Up @@ -119,7 +118,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install pytest
pip install -r requirements.txt
python -m pip install -r requirements.txt
- name: Install package
run: python setup.py install
Expand All @@ -131,9 +130,8 @@ jobs:
FUTURES_API_KEY: ${{ secrets.FUTURES_API_KEY }}
FUTURES_SECRET_KEY: ${{ secrets.FUTURES_SECRET_KEY }}
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml
pip install pytest pytest-cov
pytest --cov=kraken --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand All @@ -142,7 +140,6 @@ jobs:
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage1.xml,./coverage2.xml,!./cache
flags: unittests
name: codecov-umbrella
verbose: true

0 comments on commit 42ada80

Please sign in to comment.