Skip to content

Commit

Permalink
Update codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
florianmahner committed Jun 17, 2024
1 parent a16eecd commit 779e78f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,28 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9]
env:
OS: ${{ matrix.os }}
PYTHON: '3.8'
PYTHON: ${{ matrix.python-version }}

steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install flake8 pytest coverage
pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Generate coverage report
run: |
pip install coverage
coverage run -m unittest discover tests
coverage xml
Expand All @@ -35,7 +36,6 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
version: "v0.1.15"
fail_ci_if_error: true
flags: unittests
files: ./coverage.xml
Expand Down

0 comments on commit 779e78f

Please sign in to comment.