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
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Run tests and linting
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e ".[dev]"
|
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
|
pip install ruff
|
||||||
ruff check src/
|
ruff check src/
|
||||||
|
|||||||
Reference in New Issue
Block a user