Skip to content

Commit

Permalink
ci: update actions + fix codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 6, 2024
1 parent 6ba43db commit 62018ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Set up Python
with:
python-version: "3.10"
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
python-version: [ "3.10", "3.11" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Set up Python
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -21,6 +21,11 @@ jobs:
- name: Install Python dependencies
run: python -m poetry install
- name: Test
run: python -m poetry run pytest -svv --cov=chord_drs --cov-branch
run: python -m poetry run pytest -svv --cov=chord_drs --cov-branch --cov-report xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 62018ef

Please sign in to comment.