pr-reviewer/.github/workflows/ci.yaml

18 lines
740 B
YAML

name: CI
on:
pull_request:
branches: [main]
jobs:
ci:
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-app.yaml@fd60e4c9041784f666ac0fdefb9bec3c7fbf5143 # main
with:
python-version: "3.12"
# Lint app + tests so test code is held to the same ruff bar.
source-dirs: "app tests"
# The mocked suite runs fully offline, so actually RUN it (not just
# collect). subproject-dir "." runs `python -m pytest -q` from the repo
# root: all mocked tests execute and the single `live` Fireworks test
# skips itself (no FIREWORKS_API_KEY secret in CI). collect-only would be
# redundant with a full run, so it is turned off.
collect-only: false
subproject-dir: "."