A Python port of the Invisible Internet Project (I2P)
1name: CI
2
3on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: [main]
8
9jobs:
10 test:
11 runs-on: ubuntu-latest
12 strategy:
13 matrix:
14 python-version: ["3.11", "3.12", "3.13"]
15 steps:
16 - uses: actions/checkout@v4
17 - uses: actions/setup-python@v5
18 with:
19 python-version: ${{ matrix.python-version }}
20 - run: pip install -e ".[dev]"
21 - run: python -m pytest tests/ -q
22
23 security:
24 runs-on: ubuntu-latest
25 steps:
26 - uses: actions/checkout@v4
27 - uses: actions/setup-python@v5
28 with:
29 python-version: "3.11"
30 - run: pip install -e ".[security]"
31 - run: bandit -c bandit.yaml -r src/ -f screen || true
32 - run: pip-audit --desc || true