Files
driver-standard/.gitea/workflows/ci.yml
T
Christian Manivong 8cbcd20a3a
CI / test (3.13) (pull_request) Successful in 30s
CI / test (3.12) (pull_request) Successful in 35s
chore: Python 3.12 is the floor, part A (#6)
The shared workflow tests on 3.12 and 3.13 by default and runs lowest on
3.12; the template declares requires-python >=3.12 with ruff and mypy on
3.12, and the tool itself needs 3.12. netOrk runs every driver on 3.12 in
its own containers.

check keeps accepting a 3.10 floor until every driver has moved; part B
raises it.
2026-10-27 10:10:15 +01:00

33 lines
707 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m venv .venv
echo "$PWD/.venv/bin" >> "$GITHUB_PATH"
.venv/bin/pip install -q -e ".[dev]"
- name: Lint
run: |
ruff format --check .
ruff check .
- name: Types
run: mypy napalm_standard
- name: Tests
run: pytest -q --tb=short