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