Files
env-pro/.gitea/workflows/ci.yml
7000pctAUTO cd7b0ec04c
All checks were successful
CI / test (push) Successful in 6s
CI workflow - run tests
2026-01-31 02:00:56 +00:00

32 lines
604 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
if [ -d "tests" ]; then
pytest tests/ -v --tb=short
else
echo "No tests directory found - skipping"
fi