Skip to content

Commit 8b23d1d

Browse files
committed
fix: dev req path and working dir
1 parent 251f83d commit 8b23d1d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
name: Build and Test
1717
env:
1818
TSKZ_HTTP_API_KEY: ${{ secrets.TSKZ_HTTP_API_KEY }}
19+
defaults:
20+
run:
21+
working-directory: backend
1922

2023
steps:
2124
- name: Checkout repo
@@ -32,7 +35,7 @@ jobs:
3235
- name: Install dependencies
3336
run: |
3437
pip install -r requirements.txt
35-
pip install -r requirements.dev.txt
38+
pip install -r requirements-dev.txt
3639
3740
- name: Run tests
3841
run: pytest
@@ -43,6 +46,9 @@ jobs:
4346
needs: build-test
4447
environment:
4548
name: docker_hub
49+
defaults:
50+
run:
51+
working-directory: backend
4652

4753
steps:
4854
- name: Checkout code
@@ -71,6 +77,9 @@ jobs:
7177
needs: docker-deploy
7278
environment:
7379
name: render
80+
defaults:
81+
run:
82+
working-directory: backend
7483

7584
steps:
7685
- name: Deploy to Render

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
pip install -r requirements.txt
33-
pip install -r requirements.dev.txt
33+
pip install -r requirements-dev.txt
3434
3535
- name: Run tests
3636
run: pytest

0 commit comments

Comments
 (0)