We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76ca873 commit fe509c3Copy full SHA for fe509c3
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ backend:
11
+ name: Backend Tests
12
+ runs-on: ubuntu-latest
13
+ defaults:
14
+ run:
15
+ working-directory: ./Backend
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Set up Python
20
+ uses: actions/setup-python@v4
21
+ with:
22
+ python-version: '3.12'
23
24
+ - name: Install uv
25
+ run: |
26
+ curl -LsSf https://astral.sh/uv/install.sh | sh
27
28
+ - name: Install dependencies
29
+ run: uv pip install -r requirements.txt
30
31
+ - name: Lint
32
+ uses: astral-sh/ruff-action@v3
33
+ - run: ruff check --fix
34
+ - run: ruff format
35
36
+ - name: Run Tests
37
38
+ echo "Add tests later"
0 commit comments