Skip to content

Commit cecd478

Browse files
authored
Create test-api-server.yml
1 parent c6c662d commit cecd478

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Testing MPContribs API Server
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v4
12+
13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v3
15+
with:
16+
enable-cache: true
17+
18+
- name: Set up Python
19+
run: uv python install
20+
21+
- name: Install dependencies
22+
run: uv sync --all-extras --dev
23+
24+
- name: Run unit tests
25+
run: uv run pytest tests/unit/
26+
27+
- name: Run integration tests
28+
run: uv run pytest tests/integration/ -m "not db"

0 commit comments

Comments
 (0)