Simplified CI workflow
Some checks failed
CI / test (push) Failing after 1s

This commit is contained in:
2026-01-31 22:12:56 +00:00
parent 487bdd14bf
commit c1de944a6d

View File

@@ -5,30 +5,24 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Debug environment
run: |
echo "=== Current directory ==="
- run: |
pwd
echo ""
echo "=== Directory contents ==="
ls -la
echo ""
echo "=== Looking for requirements.txt ==="
find . -name "requirements.txt" 2>/dev/null || echo "Not found"
echo ""
echo "=== Looking for tests directory ==="
find . -type d -name "tests" 2>/dev/null || echo "Not found"
- name: Setup Python
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip 2>&1
pip3 install click fpdf2 Pillow rich python-dotenv pytest pytest-cov
- name: Check Python
- name: List files
run: |
which python3
python3 --version
ls -la man_card/ 2>/dev/null || ls -la */ 2>/dev/null || ls -la
- name: Install and test
- name: Run tests if tests dir exists
run: |
pip3 install click fpdf2 Pillow rich python-dotenv pytest pytest-cov 2>&1
echo "Installation completed"
if [ -d tests ]; then
pytest tests -v
elif [ -d */tests ]; then
pytest */tests -v
else
echo "No tests directory found"
fi