Skip to content

Commit

Permalink
run cypress tests 100 times
Browse files Browse the repository at this point in the history
  • Loading branch information
BacLuc committed Jul 31, 2023
1 parent 2938e27 commit 8d486f6
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,33 @@ jobs:
with:
name: e2e-tests-images
path: /tmp/ecamp3-dev-*.tar

large-array:
name: 'create-large-matrix'
runs-on: ubuntu-latest
outputs:
array: ${{ steps.array.outputs.result }}

steps:
- name: Get lowercase repo owner name
uses: actions/github-script@v6
id: array
with:
result-encoding: string
script: |
function range(start, stop) {
return Array(stop - start)
.fill(start)
.map((value, index) => value + index);
}
return range(0, 99)
e2e-tests-run:
name: 'Tests: End-to-end'
runs-on: ubuntu-latest
needs: e2e-tests-build
needs:
- e2e-tests-build
- large-array
timeout-minutes: 20
strategy:
fail-fast: false
Expand All @@ -319,6 +341,7 @@ jobs:
- chrome
- firefox
- edge
array: ${{ fromJSON(needs.large-array.outputs.large-array) }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3

Expand Down

0 comments on commit 8d486f6

Please sign in to comment.