Files
shell-history-alias-generator/.gitea/workflows/ci.yml
7000pctAUTO 116e8f2620
Some checks failed
CI / test (push) Failing after 6s
fix: add debug output to CI workflow
2026-02-01 08:57:37 +00:00

44 lines
919 B
YAML

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up 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: Debug - List Python files
run: |
find . -name "*.py" -type f | head -20
- 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