mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
test(server): move env variables into playwright config (#4384)
This commit is contained in:
3
.github/workflows/build-server.yml
vendored
3
.github/workflows/build-server.yml
vendored
@@ -117,9 +117,6 @@ jobs:
|
||||
env:
|
||||
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
|
||||
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
|
||||
ENABLE_LOCAL_EMAIL: true
|
||||
OAUTH_EMAIL_LOGIN: noreply@toeverything.info
|
||||
OAUTH_EMAIL_PASSWORD: affine
|
||||
|
||||
- name: Upload server test coverage results
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
@@ -53,6 +53,8 @@ const config: PlaywrightTestConfig = {
|
||||
ENABLE_LOCAL_EMAIL: process.env.ENABLE_LOCAL_EMAIL ?? 'true',
|
||||
NEXTAUTH_URL: 'http://localhost:8080',
|
||||
OAUTH_EMAIL_SENDER: 'noreply@toeverything.info',
|
||||
OAUTH_EMAIL_LOGIN: 'noreply@toeverything.info',
|
||||
OAUTH_EMAIL_PASSWORD: 'affine',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user