-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: reuse artifacts from previous pipeline
- Loading branch information
1 parent
cbb52c6
commit 5d8dd7c
Showing
23 changed files
with
206 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import { testResultDir } from '@affine-test/kit/playwright'; | ||
import type { PlaywrightTestConfig } from '@playwright/test'; | ||
// import { devices } from '@playwright/test'; | ||
|
||
/** | ||
* Read environment variables from file. | ||
|
@@ -21,16 +20,17 @@ const config: PlaywrightTestConfig = { | |
}, | ||
reporter: process.env.CI ? 'github' : 'list', | ||
webServer: [ | ||
// Intentionally not building the web, reminds you to run it by yourself. | ||
{ | ||
command: 'yarn -T run start:web-static', | ||
command: 'yarn -T run dev', | ||
port: 8080, | ||
timeout: 120 * 1000, | ||
reuseExistingServer: !process.env.CI, | ||
stdout: 'pipe', | ||
env: { | ||
...process.env, | ||
COVERAGE: process.env.COVERAGE || 'false', | ||
DISTRIBUTION: 'desktop', | ||
BUILD_TYPE: 'canary', | ||
}, | ||
}, | ||
{ | ||
|
@@ -49,7 +49,11 @@ const config: PlaywrightTestConfig = { | |
DEBUG: 'affine:*', | ||
FORCE_COLOR: 'true', | ||
DEBUG_COLORS: 'true', | ||
MAILER_HOST: '0.0.0.0', | ||
MAILER_PORT: '1025', | ||
MAILER_SENDER: '[email protected]', | ||
MAILER_USER: '[email protected]', | ||
MAILER_PASSWORD: 'affine', | ||
}, | ||
}, | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.