Better CI output
This commit is contained in:
parent
a3c116d0dd
commit
c09d01cd55
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user