Update end-to-end-tests.yaml
This commit is contained in:
parent
1529099143
commit
4a0ffefae7
1 changed files with 5 additions and 3 deletions
6
.github/workflows/end-to-end-tests.yaml
vendored
6
.github/workflows/end-to-end-tests.yaml
vendored
|
@ -41,8 +41,8 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# Run 2 instances in Parallel
|
# Run 2 instances in Parallel
|
||||||
ci_node_total: [2]
|
|
||||||
ci_node_index: [0, 1]
|
ci_node_index: [0, 1]
|
||||||
|
ci_node_total: [2]
|
||||||
steps:
|
steps:
|
||||||
- uses: browser-actions/setup-chrome@803ef6dfb4fdf22089c9563225d95e4a515820a0 # v1
|
- uses: browser-actions/setup-chrome@803ef6dfb4fdf22089c9563225d95e4a515820a0 # v1
|
||||||
- run: echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV
|
- run: echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV
|
||||||
|
@ -93,8 +93,10 @@ jobs:
|
||||||
run: yarn playwright install --with-deps
|
run: yarn playwright install --with-deps
|
||||||
|
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
working-directory: matrix-react-sdk
|
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1
|
||||||
|
with:
|
||||||
run: yarn playwright test --shard ${{ matrix.ci_node_index }}/${{ matrix.ci_node_total }}
|
run: yarn playwright test --shard ${{ matrix.ci_node_index }}/${{ matrix.ci_node_total }}
|
||||||
|
working-directory: matrix-react-sdk
|
||||||
|
|
||||||
- name: Upload blob report to GitHub Actions Artifacts
|
- name: Upload blob report to GitHub Actions Artifacts
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue