Skip to content

Commit 96d0903

Browse files
committed
Fixed github action files for deployment tests
1 parent 77d4c7a commit 96d0903

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,23 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Set up Python
16-
uses: actions/setup-python@v4
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v4
1717
with:
18-
python-version: '3.10'
18+
enable-cache: true
19+
20+
- name: Set up Python
21+
run: uv python install 3.10
1922

2023
- name: Install dependencies
2124
run: |
2225
cd backend
23-
pip install -r requirements.txt || pip install -e .
26+
uv sync
2427
2528
- name: Run tests
2629
run: |
2730
cd backend
28-
python -m pytest tests/ -v
31+
uv run pytest tests/ -v
2932
3033
deploy:
3134
needs: test

0 commit comments

Comments
 (0)