diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index d87ccb9fb..34f213d8b 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -20,6 +20,7 @@ jobs: pytestmypy: runs-on: ${{ matrix.os }} + environment: testing-environment strategy: matrix: os: [ubuntu-latest, windows-latest] @@ -63,7 +64,9 @@ jobs: run: | pytest --cov=qcodes_contrib_drivers --cov-report xml --cov-config=pyproject.toml tests - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3.1.6 + uses: codecov/codecov-action@v4.0.0 with: file: ./coverage.xml env_vars: OS,PYTHON + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}