From 96c68915e885e95ed40d9c7b2e93e65e24023e78 Mon Sep 17 00:00:00 2001 From: Brian Krabach Date: Sat, 4 Apr 2026 14:39:29 -0700 Subject: [PATCH] =?UTF-8?q?ci:=20add=20GitHub=20Actions=20test=20workflow?= =?UTF-8?q?=20(Python=203.11=E2=80=933.13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add .github/workflows/ci.yml with correct placement in muxplex repo - Matrix: Python 3.11, 3.12, 3.13 with fail-fast: false - Uses uv for Python and dependency management with package caching - Runs pytest via uv run pytest -v (config in pyproject.toml addopts) - timeout-minutes: 15 to prevent runaway CI costs - permissions: contents: read for minimal GITHUB_TOKEN scope Co-authored-by: Amplifier --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 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..fbb4a49 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,35 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 15 + strategy: + fail-fast: false + matrix: + python-version: ["3.11", "3.12", "3.13"] + steps: + - uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v4 + with: + enable-cache: true + + - name: Set up Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} + + - name: Install dependencies + run: uv sync --extra dev + + - name: Run tests + run: uv run pytest -v