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: push:
branches: branches:
- main - main
pull_request:
branches:
- main
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - uses: actions/checkout@v4
uses: actions/checkout@v4
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.10' python-version: '3.10'
- name: Debug - List files - name: Verify Python
run: | run: python --version
ls -la
ls -la tests/ 2>/dev/null || echo "No tests/ directory"
- name: Debug - List Python files - name: Install pytest
run: | run: pip install pytest
find . -name "*.py" -type f | head -20
- name: Install dependencies - name: Run pytest
run: | run: pytest tests/ -v || exit 1
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