Skip to content

Commit 2efe669

Browse files
committed
test: add test.env configuration for API server testing
1 parent 75efbc3 commit 2efe669

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/api-server-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ jobs:
4040
- name: Run tests
4141
run: |
4242
cd server
43+
cp test.env .env
4344
poetry run pytest --maxfail=1 --disable-warnings -q

server/test.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SECRET_KEY=secret_for_testing
2+
DATABASE_URL=sqlite://test.db

0 commit comments

Comments
 (0)