Skip to content

Commit

Permalink
run pytest only on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekbhr committed Feb 25, 2024
1 parent 66a3e7e commit e6b88b8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ jobs:
which sincei
sincei --help
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./
if: matrix.os == 'ubuntu-latest'
run: |
pip install pytest
pip install pytest-cov
pytest --cov=./
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit e6b88b8

Please sign in to comment.