ci: Additionally checkout PR head for e2e tests (no-changelog) (#6105)
* ci: Do not force branch for PR e2e smoke tests * Use commit SHA for smoke test * Debug: Echo git before running e2e * Debugging: Create local merge commit * Use container with git installed * Debugging: Manual git checkout PR * Do not skip checkout * Use container with git installed * Add breaking test, install git manualyl * Use sudo * Use container with git preinstalled * Remove debugging e2e
This commit is contained in:
5
.github/workflows/ci-pull-requests.yml
vendored
5
.github/workflows/ci-pull-requests.yml
vendored
@@ -112,12 +112,13 @@ jobs:
|
||||
name: E2E [Electron/Node 16]
|
||||
uses: ./.github/workflows/e2e-reusable.yml
|
||||
with:
|
||||
branch: ${{ github.event.pull_request.head.ref }}
|
||||
branch: ${{ github.event.pull_request.base.ref }}
|
||||
user: ${{ github.event.inputs.user || 'PR User' }}
|
||||
spec: ${{ github.event.inputs.spec || 'e2e/0-smoke.cy.ts' }}
|
||||
run-env: base:16.18.1
|
||||
run-env: browsers:node16.18.0-chrome107-ff106-edge
|
||||
record: false
|
||||
parallel: false
|
||||
pr_number: ${{ github.event.number }}
|
||||
containers: '[1]'
|
||||
secrets:
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user