-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 1.04 KB
/
Copy pathtests.yml
File metadata and controls
26 lines (26 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# tests.yml — tests gate. Required check name: "tests".
# Each skill ships a deterministic floor (exit 0/1, pure stdlib) — METHOD §7.
# Floors are auto-discovered, not hard-listed: discover_floors.py runs every
# Python file carrying the `# FLOOR` marker (ROADMAP G5). Adding a skill means
# dropping a marked floor — this workflow is never edited again. pytest-style
# floors under tests/ are found by `pytest tests/`.
name: tests
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
tests:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
# Exact-version pin (determinism + CI<->local parity) via the test group.
- run: python -m pip install --upgrade pip && pip install --group test
# Gate commands single-sourced in scripts/gates/tests.sh (S31).
- run: bash scripts/gates/tests.sh