Skip to content

Commit 625eff8

Browse files
authored
Update backend-ci.yml
1 parent 4d77426 commit 625eff8

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/backend-ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
run: |
3131
cd server
3232
python -m pip install --upgrade pip
33-
pip install -r requirements.txt
3433
pip install flake8 black
3534
- name: Run flake8 (Linting)
3635
run: |
@@ -48,12 +47,24 @@ jobs:
4847
steps:
4948
- name: Checkout repository
5049
uses: actions/checkout@v3
50+
51+
- name: Set up Python
52+
uses: actions/setup-python@v4
53+
with:
54+
python-version: "3.10"
55+
56+
- name: Install dependencies
57+
run: |
58+
cd server
59+
python -m pip install --upgrade pip
60+
pip install -r requirements.txt
5161
5262
- name: Create .env file in CI
5363
run: |
5464
cd server
5565
echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }} >> .env"
5666
echo "SUPABASE_URL=${{ secrets.SUPABASE_KEY }} >> .env"
67+
5768
- name: Run Tests
5869
run: |
5970
cd server

0 commit comments

Comments
 (0)