chore: added multiple browser support (#4161)

* chore: added multiple browser support

* chore: use matrix for parallel jobs

* fix: browsername
This commit is contained in:
Christian Jakob 2022-08-10 17:24:19 +02:00 committed by GitHub
parent 670d107945
commit 33e4c5c151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ on:
jobs:
test:
strategy:
matrix:
browser: [firefox, chrome]
runs-on: ubuntu-20.04
env:
ZITADEL_IMAGE_REGISTRY: 'ghcr.io/zitadel/zitadel'
@ -29,14 +32,14 @@ jobs:
with:
driver: docker
install: true
- name: Test
run: docker compose run e2e
- name: Test ${{ matrix.browser }}
run: docker compose run e2e --browser ${{ matrix.browser }}
working-directory: e2e
- name: Archive production tests
- name: Archive production tests ${{ matrix.browser }}
if: always()
uses: actions/upload-artifact@v2
with:
name: production-tests
name: production-tests-${{ matrix.browser }}
path: |
e2e/cypress/results
e2e/cypress/videos