Skip to content

Commit

Permalink
ci-test.yml: Upload coverage to Codecov uses: codecov/codecov-action@…
Browse files Browse the repository at this point in the history
…v4 (#24)

* ci-test.yml: Upload coverage to Codecov uses: codecov/codecov-action@v3

The breaking change happens in v4...
* https://github.com/codecov/codecov-action/releases
* https://github.com/codecov/codecov-action/releases/tag/v4.0.0
* https://docs.codecov.com/docs/adding-the-codecov-token#github-actions

* ci-test.yml: Upload coverage to Codecov uses: codecov/codecov-action@v4
  • Loading branch information
cclauss authored Jul 20, 2024
1 parent 1ee410b commit 52870ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# This workflow will install Python dependencies, run tests, and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: CI
Expand Down Expand Up @@ -30,10 +30,10 @@ jobs:
- name: Lint with ruff
run: |
poetry run ruff check --diff .
- name: Check black
- name: Format with ruff
run: |
poetry run ruff format --check --diff .
- name: Check mypy
- name: Check type hints mypy
run: |
poetry run mypy .
- name: Test with pytest
Expand All @@ -42,7 +42,7 @@ jobs:
poetry run coverage report && \
poetry run coverage xml -o cov.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS,PYTHON
Expand Down

0 comments on commit 52870ae

Please sign in to comment.