From 3d022623ca00f0ad158483278a276b605c6283c4 Mon Sep 17 00:00:00 2001 From: KellyJDavis Date: Sat, 29 Nov 2025 12:08:42 +0100 Subject: [PATCH] Add CI workflow to run tests on pull requests Add GitHub Actions workflow that runs 'make test-all' on pull requests and pushes to main branch. This ensures all tests (including slow, integration, and external tests) pass before code is merged. The workflow: - Runs on pull_request and push to main - Uses Python 3.12 - Installs package with dev dependencies - Executes make test-all with coverage reporting --- .github/workflows/tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..9f6a177 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,27 @@ +name: Run Tests + +on: + pull_request: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Install dependencies + run: | + pip install -e ".[dev]" + + - name: Run all tests + run: make test-all +