зеркало из https://github.com/mozilla/fxa.git
Merge pull request #14533 from mozilla/add-circleci-split
test(functional): add parallelism and circleci split to functional tests
This commit is contained in:
Коммит
c427ffb819
|
@ -305,6 +305,7 @@ jobs:
|
|||
|
||||
playwright-functional-tests:
|
||||
resource_class: large
|
||||
parallelism: 5
|
||||
docker:
|
||||
- image: mcr.microsoft.com/playwright:v1.20.0-focal
|
||||
- image: redis
|
||||
|
|
|
@ -28,4 +28,7 @@ yarn workspaces foreach \
|
|||
|
||||
npx pm2 ls
|
||||
|
||||
yarn workspace functional-tests test
|
||||
#yarn workspace functional-tests test
|
||||
|
||||
circleci tests glob "packages/functional-tests/tests/**/*.spec.ts" | circleci tests split > tests-to-run.txt
|
||||
yarn workspace functional-tests test $(cat tests-to-run.txt|awk -F"/" '{ print $NF }')
|
||||
|
|
Загрузка…
Ссылка в новой задаче