Skip to content

Commit

Permalink
chore: print log message on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
callumtilbury authored Jul 26, 2024
1 parent 1386e34 commit ab98801
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests_linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
run: pip install .[dev]
- name: List python packages 📦
run: pip list
- name: Check git settings
run: git --version
- name: Run linters 🖌️
run: pre-commit run --all-files --verbose
- name: Run tests 🧪
Expand All @@ -28,3 +26,6 @@ jobs:
run: |
coverage html --directory=coverage_html_report
coverage report --fail-under=0.97
- name: Print pre-commit log on failure
if: failure()
run: cat /github/home/.cache/pre-commit/pre-commit.log

0 comments on commit ab98801

Please sign in to comment.