Skip to content

Commit 0007a3c

Browse files
committed
Revert "chore: create separate codecov job to use environment variable"
This reverts commit 1b0ab57.
1 parent a751a69 commit 0007a3c

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,10 @@ jobs:
3737
- name: Run pytest
3838
shell: bash -el {0}
3939
run: pixi run -e tests-linux-py${{ matrix.python-version }} tests-with-cov
40-
- name: Upload code coverage artifact.
40+
- name: Upload coverage report.
4141
if: matrix.python-version == '312'
42-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
43-
with:
44-
name: coverage
45-
path: coverage.xml
46-
upload-codecov:
47-
name: Upload coverage report to codecov
48-
needs: run-tests-linux
49-
runs-on: ubuntu-latest
50-
environment: codecov
51-
steps:
52-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
53-
with:
54-
persist-credentials: false
55-
- name: Download code coverage artifact
56-
# yamllint disable-line rule:line-length
57-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
58-
with:
59-
name: coverage
60-
path: .
61-
- name: Upload to codecov
6242
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
6343
with:
64-
files: ./coverage.xml
6544
token: ${{ secrets.CODECOV_TOKEN }}
6645
run-tests-win-and-mac:
6746
name: Run tests on ${{ matrix.os }} py${{ matrix.python-version }}

0 commit comments

Comments
 (0)