Skip to content

Commit 7460d99

Browse files
committed
fix(tests): set DB_URL
1 parent 13f35fb commit 7460d99

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
cat > .env << EOF
3030
EMAIL=test@example.com
3131
APP_PASSWORD=test_password_123
32+
DB_URL=sqlite://
3233
EOF
3334
3435
- name: Run Python tests

conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import os
2+
3+
4+
def pytest_configure(config):
5+
os.environ.setdefault("DB_URL", "sqlite://")

0 commit comments

Comments
 (0)