Skip to content

Commit

Permalink
investigate: run e2e test parallel follow feature file
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanphamcybozu committed Mar 28, 2024
1 parent 043e2b4 commit b5d8a3f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- investigate/reduce-execution-time-e2e-test
pull_request:

concurrency:
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
node-version: [18.x]
node-version: [ 18.x ]
os: ${{ fromJSON(needs.get-running-os.outputs.os) }}
steps:
- uses: actions/checkout@v4
Expand All @@ -56,7 +57,7 @@ jobs:
run: pnpm test:e2e

actions-timeline:
needs: [test-e2e]
needs: [ test-e2e ]
runs-on: ubuntu-latest
if: ${{ !cancelled() }}
steps:
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
"typecheck": "tsc --pretty --noEmit",
"test": "jest",
"test:ci": "jest --runInBand",
"test:e2e": "cucumber-js",
"test:e2e": "run-p test:e2e:*",
"test:e2e:export": "cucumber-js features/export.feature",
"test:e2e:import": "cucumber-js features/import.feature",
"test:e2e:common": "cucumber-js features/common.feature",
"test:e2e:delete": "cucumber-js features/delete.feature",
"lint": "run-p -l lint:*",
"lint:eslint": "eslint --ext .js,.mjs,.cjs,.ts,.mts,.cts ./ --max-warnings 0 --cache --cache-location ./node_modules/.cache/eslint/",
"lint:prettier": "prettier --check '**/*.{json,md,yml,yaml}' --cache",
Expand Down

0 comments on commit b5d8a3f

Please sign in to comment.