Skip to content

Commit 60e6484

Browse files
committed
ci: update backend test workflow with working directory and path adjustments
- Rename job from `test` to `test-backend` - Set `working-directory` to `/backend` for consistency - Adjust `APP_BASE_FOLDER_PATH` to reflect relative file path changes
1 parent e6087f4 commit 60e6484

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test-backend.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ on:
99
- master
1010

1111
jobs:
12-
test:
12+
test-backend:
1313
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
working-directory: ./backend
1417
services:
1518
postgres:
1619
image: postgres:16
@@ -46,7 +49,7 @@ jobs:
4649
- name: Run tests
4750
env:
4851
APP_DATABASE_URL: postgresql+asyncpg://postgres:postgres@localhost:5433/devbin_test
49-
APP_BASE_FOLDER_PATH: /tmp/devbin_test_files
52+
APP_BASE_FOLDER_PATH: ./files/devbin_test_files
5053
APP_DEBUG: "true"
5154
APP_CORS_DOMAINS: '["http://test"]'
5255
APP_ALLOW_CORS_WILDCARD: "false"

0 commit comments

Comments
 (0)