We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f8928c commit 8a0f4deCopy full SHA for 8a0f4de
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: Test
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+ services:
9
+ postgres:
10
+ image: postgres
11
+ ports:
12
+ - 5432:5432
13
+ env:
14
+ POSTGRES_DB: postgres
15
+ POSTGRES_USER: postgres
16
+ POSTGRES_PASSWORD: postgres
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: '3.13'
25
26
+ - name: Install Uv
27
+ run: pip install uv
28
29
+ - name: Run tests
30
31
+ DATABASE_HOST: localhost
32
+ DATABASE_USER: postgres
33
+ DATABASE_PASSWORD: postgres
34
+ DATABASE_NAME: postgres
35
+ run: cd backend && uv run -- pytest .
0 commit comments