diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53a24d3..16cb82e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}