Files
man-card/.gitea/workflows/ci.yml
7000pctAUTO 6a398ec902
Some checks failed
CI / test (push) Failing after 1s
CI with directory handling
2026-01-31 22:08:33 +00:00

30 lines
686 B
YAML

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
run: |
ls -la
ls -la man-card-project/ 2>/dev/null || true
- name: Setup Python
run: |
python3 -m pip install --upgrade pip
python3 --version
- name: Install dependencies
run: |
if [ -f man-card-project/requirements.txt ]; then
cd man-card-project
fi
pip3 install -r requirements.txt
- name: Run tests
run: |
if [ -f man-card-project/requirements.txt ]; then
cd man-card-project
fi
pytest3 tests/ -v