ci: add error handling to CI steps for better debugging
This commit is contained in:
@@ -26,10 +26,16 @@ jobs:
|
|||||||
run: pytest tests/ -v --cov=depnav --cov-report=term-missing
|
run: pytest tests/ -v --cov=depnav --cov-report=term-missing
|
||||||
|
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: ruff check depnav/ tests/
|
run: |
|
||||||
|
set -e
|
||||||
|
ruff check depnav/ tests/
|
||||||
|
echo "Ruff linting completed successfully"
|
||||||
|
|
||||||
- name: Run type checking
|
- name: Run type checking
|
||||||
run: mypy depnav/src/
|
run: |
|
||||||
|
set -e
|
||||||
|
mypy depnav/src/
|
||||||
|
echo "Mypy completed successfully"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: test
|
needs: test
|
||||||
|
|||||||
Reference in New Issue
Block a user