Files
pigway-frame-flow/.github/workflows/verify.yml
T

27 lines
999 B
YAML

name: Verify Frame Flow
on: [push, pull_request, workflow_dispatch]
jobs:
verify:
runs-on: ubuntu-latest
env:
DEBIAN_MIRROR: ${{ vars.DEBIAN_MIRROR }}
DEBIAN_SECURITY_MIRROR: ${{ vars.DEBIAN_SECURITY_MIRROR }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.14'
- run: python -m pip install -e '.[test]'
- run: python -m ruff check pigway_frame_flow tests scripts
- run: python -m ruff format --check pigway_frame_flow tests scripts
- run: python -m mypy pigway_frame_flow
- run: python -m pytest -q
- run: python -m pip_audit -r requirements.lock --no-deps --disable-pip
- name: Isolated Docker build, smoke and restart verification
run: |
. ./deploy/build-cn.env
python scripts/ci-compose-verify.py
- name: Cleanup isolated Docker resources
if: always()
run: python scripts/ci-compose-verify.py --cleanup