Skip to content

Commit

Permalink
codecov@v3 token
Browse files Browse the repository at this point in the history
  • Loading branch information
wimglenn authored Dec 2, 2023
1 parent 1139a4f commit bc8441d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
tests:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -22,20 +22,20 @@ jobs:
- "3.11"

steps:
- uses: "actions/checkout@v3"
- uses: actions/checkout@v3

- uses: "actions/setup-python@v4"
- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
python-version: ${{ matrix.python-version }}
architecture: x64

- name: "Install"
- name: Install
run: pip install -q -r tests/requirements.txt && pip freeze --all

- name: "Run tests for ${{ matrix.python-version }} on ${{ matrix.os }}"
- name: Run tests for ${{ matrix.python-version }} on ${{ matrix.os }}
run: pytest

- name: Upload coverage to Codecov
uses: "codecov/codecov-action@main"
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit bc8441d

Please sign in to comment.