-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortype: infrastructureimprovement to development/releases/CI structureimprovement to development/releases/CI structure
Description
The Codecov bash uploader that the CI is using is deprecated and will stop working on Feb 1, 2022, with brownouts before then.
https://about.codecov.io/blog/introducing-codecovs-new-uploader/
We should update to their new uploader.
The relevant file is https://github.com/pytest-dev/pytest/blob/5fc7b21391c959bb5a54174d9084ad55131b8fdb/scripts/upload-coverage.sh
Called in CI from here:
pytest/.github/workflows/main.yml
Lines 168 to 172 in 5fc7b21
- name: Upload coverage | |
if: matrix.use_coverage && github.repository == 'pytest-dev/pytest' | |
env: | |
CODECOV_NAME: ${{ matrix.name }} | |
run: bash scripts/upload-coverage.sh -F GHA,${{ runner.os }} |
Note: the scripts/upload-coverage.sh
script itself can stay in bash; just the codecov file it downloads should be changed to the new one.
Metadata
Metadata
Assignees
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortype: infrastructureimprovement to development/releases/CI structureimprovement to development/releases/CI structure