Files

32 lines
683 B
YAML

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: ${{ matrix.os }} / py${{ matrix.python }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.9", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: unit tests
run: python -m unittest discover -s tests -t .
- name: offline selftest
run: python -m poc selftest
- name: dry-run (no network, no docker)
run: python -m poc exploit --dry-run