Skip to content

Commit fe509c3

Browse files
committed
chore: ci/cd flow
1 parent 76ca873 commit fe509c3

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
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+
run: |
38+
echo "Add tests later"

0 commit comments

Comments
 (0)