Update CI with detailed logging
This commit is contained in:
@@ -22,16 +22,23 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
cache: 'pip'
|
||||||
|
|
||||||
|
- name: Check Python version
|
||||||
|
run: python --version
|
||||||
|
|
||||||
- name: Install dependencies
|
- 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]" 2>&1 || echo "Install failed"
|
||||||
|
|
||||||
|
- name: Show pip packages
|
||||||
|
run: pip list
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest -xvs --tb=short
|
run: pytest -xvs --tb=short 2>&1 || echo "Tests failed"
|
||||||
|
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: |
|
run: |
|
||||||
pip install ruff
|
pip install ruff
|
||||||
ruff check --fix .
|
ruff check --fix . 2>&1 || echo "Linting failed"
|
||||||
|
|||||||
Reference in New Issue
Block a user