fix: minimal CI workflow
Some checks failed
CI / test (push) Failing after 5s

This commit is contained in:
2026-02-01 08:58:13 +00:00
parent 116e8f2620
commit 393399485a

View File

@@ -4,40 +4,23 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Debug - List files
run: |
ls -la
ls -la tests/ 2>/dev/null || echo "No tests/ directory"
- name: Verify Python
run: python --version
- name: Debug - List Python files
run: |
find . -name "*.py" -type f | head -20
- name: Install pytest
run: pip install pytest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install click rich pytest
- name: Run tests with verbose output
run: |
python -m pytest tests/ -v --tb=short 2>&1 || true
- name: Check pytest return code
run: |
python -m pytest tests/ -v --tb=short
- name: Run pytest
run: pytest tests/ -v || exit 1