Fix CI: separate test and lint steps with short traceback
Some checks failed
CI / test (push) Failing after 7s
Some checks failed
CI / test (push) Failing after 7s
This commit is contained in:
@@ -15,10 +15,14 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Run tests and linting
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e ".[dev]"
|
||||
python -m pytest tests/ -v --cov=src --cov-report=term-missing
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m pytest tests/ -v --tb=short
|
||||
- name: Check linting
|
||||
run: |
|
||||
pip install ruff
|
||||
ruff check src/
|
||||
|
||||
Reference in New Issue
Block a user