Files
roadcode-ci/workflows/python-ci.yml

21 lines
443 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install -r requirements.txt
- run: python -m pytest tests/ -v --tb=short
- run: python -m flake8 . --max-line-length=120 --exclude=.git,__pycache__,venv || true