Skip to content

Commit

Permalink
ci: trying alternative syntax to provide Codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Jan 31, 2024
1 parent b67d175 commit b994800
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
id: setup-python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -26,7 +26,7 @@ jobs:

- name: Load cached virtualenv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand All @@ -44,8 +44,7 @@ jobs:
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
files: ./coverage.xml
fail_ci_if_error: true
env:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit b994800

Please sign in to comment.