mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:27:32 +00:00
chore: added multiple browser support (#4161)
* chore: added multiple browser support * chore: use matrix for parallel jobs * fix: browsername
This commit is contained in:
11
.github/workflows/e2e.yml
vendored
11
.github/workflows/e2e.yml
vendored
@@ -12,6 +12,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
browser: [firefox, chrome]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
env:
|
env:
|
||||||
ZITADEL_IMAGE_REGISTRY: 'ghcr.io/zitadel/zitadel'
|
ZITADEL_IMAGE_REGISTRY: 'ghcr.io/zitadel/zitadel'
|
||||||
@@ -29,14 +32,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
driver: docker
|
driver: docker
|
||||||
install: true
|
install: true
|
||||||
- name: Test
|
- name: Test ${{ matrix.browser }}
|
||||||
run: docker compose run e2e
|
run: docker compose run e2e --browser ${{ matrix.browser }}
|
||||||
working-directory: e2e
|
working-directory: e2e
|
||||||
- name: Archive production tests
|
- name: Archive production tests ${{ matrix.browser }}
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: production-tests
|
name: production-tests-${{ matrix.browser }}
|
||||||
path: |
|
path: |
|
||||||
e2e/cypress/results
|
e2e/cypress/results
|
||||||
e2e/cypress/videos
|
e2e/cypress/videos
|
||||||
|
Reference in New Issue
Block a user