From cecd4789fc3308bfc2eba587c0acc609324e619f Mon Sep 17 00:00:00 2001 From: Brendan Foley Date: Mon, 22 Jun 2026 11:14:09 -0700 Subject: [PATCH] Create test-api-server.yml --- .github/workflows/test-api-server.yml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test-api-server.yml diff --git a/.github/workflows/test-api-server.yml b/.github/workflows/test-api-server.yml new file mode 100644 index 000000000..aef8825d6 --- /dev/null +++ b/.github/workflows/test-api-server.yml @@ -0,0 +1,28 @@ +name: Testing MPContribs API Server + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + enable-cache: true + + - name: Set up Python + run: uv python install + + - name: Install dependencies + run: uv sync --all-extras --dev + + - name: Run unit tests + run: uv run pytest tests/unit/ + + - name: Run integration tests + run: uv run pytest tests/integration/ -m "not db"