CI workflow - run tests
All checks were successful
CI / test (push) Successful in 6s

This commit is contained in:
2026-01-31 02:00:56 +00:00
parent bdb632598a
commit cd7b0ec04c

View File

@@ -17,32 +17,15 @@ jobs:
with:
python-version: '3.11'
- name: Show directory structure
run: |
echo "=== Directory structure ==="
ls -la
echo "=== Root files ==="
ls -la
- name: Check if tests exist
run: |
echo "=== Tests directory ==="
if [ -d "tests" ]; then
ls -la tests/
else
echo "No tests directory found"
fi
- name: Install pytest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
echo "=== Running tests ==="
if [ -d "tests" ]; then
pytest tests/ -v --tb=short || echo "Tests failed with exit code $?"
pytest tests/ -v --tb=short
else
echo "No tests to run"
echo "No tests directory found - skipping"
fi