Skip to content

Commit

Permalink
ci: Turn on pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Jul 10, 2024
1 parent 340c589 commit ef84007
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,17 @@ jobs:
- name: Test install
run: python3 -m pip install .

# - name: Test with pytest
# run: python3 -m pytest --cov=shell_logger example/ test/
- name: Test with pytest
uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: python3 -m pytest --verbose --cov=shell_logger test/

# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Check documentation coverage
run: make coverage SPHINXOPTS="-W --keep-going"
Expand Down

0 comments on commit ef84007

Please sign in to comment.