trainsim/.forgejo/workflows/ci.yml
Mona Lisa 9c5ef3a5cd
Some checks are pending
CodeView TrainSim CI / test (push) Waiting to run
CodeView TrainSim CI / docker (push) Blocked by required conditions
Add Python TrainSim with loop track map and physics.
FastAPI server, replaceable JSON config, tests, Dockerfile.
Pairs with ATO via spec/interface.md contract.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 20:37:22 +00:00

27 lines
483 B
YAML

name: CodeView TrainSim CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: docker
container:
image: python:3.12-slim
steps:
- uses: actions/checkout@v4
- name: Pytest
run: |
pip install -r requirements.txt
pytest -q
docker:
runs-on: docker
needs: test
steps:
- uses: actions/checkout@v4
- name: Docker build
run: docker build -t trainsim:ci .