From 3e0d7303cf8ae895d85bf8ec519f9bead98af17b Mon Sep 17 00:00:00 2001 From: Marco D'Aleo Date: Sat, 3 Oct 2026 11:16:35 +0100 Subject: [PATCH] Add GitHub mirror support --- .github/CODEOWNERS | 1 + .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/ci.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..c40bdfb --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @mdaleo404 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7485c5b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.11", "3.13"] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: Install project and tooling + run: pip install -e . pytest mypy pre-commit + + - name: Lint and typecheck + if: matrix.python-version == '3.13' + run: | + pre-commit run --all-files --color always + mypy + + - name: Unit and security tests + run: pytest tests/unit tests/security