commit e2e5931c25bbca7161f04463ac49968c48e28be3
parent a809fcfe6725c318cb606416f686493271a8ccb3
Author: Marcel <mtrnord1@gmail.com>
Date: Sun, 14 Jun 2020 12:52:57 +0200
Run e2e tests in parallel
Took 2 minutes
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
@@ -3,6 +3,10 @@ on: [push]
jobs:
chrome:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ # run 3 copies of the current job in parallel
+ containers: [1, 2, 3]
steps:
- uses: actions/checkout@v1
- uses: cypress-io/github-action@v1
diff --git a/package.json b/package.json
@@ -9,7 +9,7 @@
"start": "yarn run start:dev",
"start:prod": "webpack-dev-server --mode production",
"cy:open": "cypress open",
- "cy:run:ci": "cypress run --browser chrome --record --key 99194b81-775d-4e98-9bac-8f2cc12bc62e --ci-build-id $GITHUB_RUN_ID --group github-action-e2e"
+ "cy:run:ci": "cypress run --browser chrome --record --key 99194b81-775d-4e98-9bac-8f2cc12bc62e --ci-build-id \"${GITHUB_SHA}-${GITHUB_WORKFLOW}-${GITHUB_EVENT_NAME}\" --group github-action-e2e --parallel"
},
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.3.1",