Skip to content

Commit

Permalink
Change: GitHub actions are updated, a new codecov TOKEN created for u…
Browse files Browse the repository at this point in the history
…ploading.
  • Loading branch information
petersulyok committed Apr 13, 2024
1 parent 5fa8530 commit 1b18eca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
include:
- coverage: true
os: "ubuntu-latest"
python-version: "3.9"
python-version: "3.11"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -44,8 +44,9 @@ jobs:
pytest --cov=src --cov=test --cov-report=xml
- name: Upload coverage to Codecov
if: "matrix.coverage"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit 1b18eca

Please sign in to comment.