Skip to content

Commit

Permalink
Update linting and coverage workflows to fix changes causing failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Oct 26, 2024
1 parent 70dd524 commit ebea0e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install pytest pytest-mock coverage
pip install .
- run: |
pip install coverage
pip install .[test]
# annotate each step with `if: always` to run all regardless
- name: Check coverage
if: always()
run: coverage run -m pytest .

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
3 changes: 1 addition & 2 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff mypy blackdoc
pip install .[lint]
- run: pip install .[lint]

# annotate each step with `if: always` to run all regardless
- name: Check code formatting with ruff
Expand Down

0 comments on commit ebea0e8

Please sign in to comment.