Skip to content

Commit 010170c

Browse files
Add a dummy resend key to Github workflow so tests will pass
1 parent 5772499 commit 010170c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
echo "DB_NAME=test_db" >> $GITHUB_ENV
5555
echo "SECRET_KEY=$(openssl rand -base64 32)" >> $GITHUB_ENV
5656
echo "BASE_URL=http://localhost:8000" >> $GITHUB_ENV
57+
echo "RESEND_API_KEY=resend_api_key" >> $GITHUB_ENV
5758
5859
- name: Verify environment variables
5960
run: |
@@ -63,7 +64,8 @@ jobs:
6364
[ -n "$DB_HOST" ] && \
6465
[ -n "$DB_PORT" ] && \
6566
[ -n "$DB_NAME" ] && \
66-
[ -n "$SECRET_KEY" ]
67+
[ -n "$SECRET_KEY" ] && \
68+
[ -n "$RESEND_API_KEY" ]
6769
6870
- name: Run type checking with mypy
6971
run: poetry run mypy .

0 commit comments

Comments
 (0)