Better CI output

This commit is contained in:
7x11x13 2024-07-09 14:25:22 -04:00
parent a3c116d0dd
commit c09d01cd55

View File

@ -26,17 +26,20 @@ jobs:
run: |
pip install -e .[dev]
- name: Lint
run: ruff check
if: '!cancelled()'
run: ruff check --output-format=github
- name: Format check
if: '!cancelled()'
run: ruff format --check
- name: Type check
if: '!cancelled()'
run: mypy
- name: Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
run: |
pytest --exitfirst
pytest -vv --exitfirst
publish:
needs: test
if: startsWith(github.ref, 'refs/tags/v')