Skip to content

Workflow file for this run

on:
workflow_call:
secrets:
SFDX_AUTH_CLIENT_ID:
required: true
SFDX_AUTH_JWT_KEY:
required: true
GITHUB_TOKEN:

Check failure on line 8 in .github/workflows/e2e-quantic.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e-quantic.yml

Invalid workflow file

secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
required: true
jobs:
e2e-quantic-setup:
name: 'Setup e2e tests on Quantic'
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/setup-sfdx
- uses: ./.github/actions/e2e-quantic-setup
with:
clientid: ${{ secrets.SFDX_AUTH_CLIENT_ID }}
jwtkey: ${{ secrets.SFDX_AUTH_JWT_KEY }}
e2e-quantic-test:
name: 'Run e2e tests on Quantic'
needs: e2e-quantic-setup
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
spec:
[
'cypress/e2e/default-1/**/*',
'cypress/e2e/default-2/**/*',
'cypress/e2e/facets-1/**/*',
'cypress/e2e/facets-2/**/*',
]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/e2e-quantic
- uses: ./.github/actions/setup-sfdx
with:
spec: ${{ matrix.spec }}
e2e-quantic-cleanup:
if: cancelled() || failure() || success()
needs: e2e-quantic-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: ./.github/actions/setup
- uses: ./.github/actions/setup-sfdx
- run: npx --no-install ts-node packages/quantic/scripts/build/delete-org.ts
shell: bash