Simplify CI workflow
This commit is contained in:
@@ -24,21 +24,15 @@ jobs:
|
||||
python-version: '3.11'
|
||||
cache: 'pip'
|
||||
|
||||
- name: Check Python version
|
||||
run: python --version
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e ".[dev]" 2>&1 || echo "Install failed"
|
||||
|
||||
- name: Show pip packages
|
||||
run: pip list
|
||||
pip install -e ".[dev]"
|
||||
|
||||
- name: Run tests
|
||||
run: pytest -xvs --tb=short 2>&1 || echo "Tests failed"
|
||||
run: pytest -xvs --tb=short
|
||||
|
||||
- name: Run linting
|
||||
run: |
|
||||
pip install ruff
|
||||
ruff check --fix . 2>&1 || echo "Linting failed"
|
||||
ruff check --fix .
|
||||
|
||||
Reference in New Issue
Block a user