Skip to content

Commit

Permalink
ci: Distinguish OS and Python version when uploading codecov reports
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Nov 17, 2020
1 parent 627402b commit 4e72e87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
os: [ubuntu-latest, macos-latest]
python-version: [3.6, 3.7, 3.8, 3.9]

env:
GHA_OS: ${{ matrix.os }}
GHA_PYTHON: {{ matrix.python-version }}

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -35,3 +39,5 @@ jobs:
python -m pytest -v --cov=src tests
- name: Send code coverage report
uses: codecov/codecov-action@v1
with:
env_vars: GHA_OS,GHA_PYTHON

0 comments on commit 4e72e87

Please sign in to comment.