Skip to content

CI

CI #10

Workflow file for this run

# Optional GitHub Actions mirror: lints, tests, validates the log, and builds
# the flight report so the public repo shows passing checks and a downloadable
# artifact. The real self-hosted pipeline is .gitlab-ci.yml.
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -e ".[dev,viz]"
- run: ruff check .
- run: pytest --cov=flightlog
- run: flightlog validate data/sample_flight.csv
- run: flightlog report data/sample_flight.csv --out-dir out
- uses: actions/upload-artifact@v4
with:
name: flight-report
path: out/