From 3184545d4a063f9367297c37666fdf0530f01510 Mon Sep 17 00:00:00 2001 From: t49qnsx7qt-kpanks Date: Sat, 13 Jun 2026 10:30:41 -0500 Subject: [PATCH] ci: add GitHub Actions test gate (pytest) Runs the pytest suite (454 tests) on push and PR across Python 3.9 and 3.12. Installs the package with dev + stripe extras to match the rails test dependencies. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e279a2b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [master, main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.12"] + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: pip + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e ".[dev,stripe]" + + - name: Run tests + run: python -m pytest -q