Skip to content

Commit

Permalink
Merge pull request #1764 from nextcloud/feat/workflow-auto-update-cyp…
Browse files Browse the repository at this point in the history
…ress.yml
  • Loading branch information
skjnldsv authored Jun 29, 2023
2 parents 625ed2e + 8390bab commit d89133a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ on:
env:
# Adjust APP_NAME if your repository name is different
APP_NAME: ${{ github.event.repository.name }}
BRANCH: ${{ github.base_ref }}

# This represents the server branch to checkout.
# Usually it's the base branch of the PR, but for pushes it's the branch itself.
# e.g. 'main', 'stable27' or 'feature/my-feature
# n.b. server will use head_ref, as we want to test the PR branch.
BRANCH: ${{ github.base_ref || github.ref_name }}

jobs:
init:
Expand Down Expand Up @@ -94,6 +99,9 @@ jobs:
with:
record: true
parallel: true
# cypress run type
component: ${{ matrix.containers == 'component' }}
group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
# cypress env
ci-build-id: ${{ github.sha }}-${{ github.run_number }}
tag: ${{ github.event_name }}
Expand Down

0 comments on commit d89133a

Please sign in to comment.