diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 19c6a39c..b7232baa 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -6,14 +6,17 @@ on: jobs: test: - name: Run Pytest and Upload Coverage + name: Test Coverage + runs-on: ${{ matrix.os }} strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10"] os: [ubuntu-latest, windows-latest, macos-latest] fail-fast: false + env: + OS: ${{ matrix.os }} + PYTHON_VERSION: ${{ matrix.python-version }} - runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -30,5 +33,6 @@ jobs: - name: Upload coverage report uses: codecov/codecov-action@v2 with: + env_vars: OS,PYTHON_VERSION files: ./tests/coverage.xml flags: unittests