Skip to content

Commit

Permalink
Run UI tests on push to release branch (#2880)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1203301625297703/1207610721118526/f

Description:
This change causes UI tests workflow to be run on every push to release and hotfix branches.
It also adds mechanism of cancelling previous unfinished workflows in case a new push event is triggered.
  • Loading branch information
ayoy authored Jun 24, 2024
1 parent 9b50775 commit 7d2c59b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 1-5' # 3AM UTC offsetted to legacy to avoid action-junit-report@v4 bug
pull_request:
branches:
- hotfix/*
- release/*

jobs:
ui-tests:
Expand All @@ -14,6 +18,10 @@ jobs:
matrix:
runner: [macos-13-xlarge, macos-14-xlarge]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.runner }}
cancel-in-progress: true

timeout-minutes: 120

steps:
Expand Down

0 comments on commit 7d2c59b

Please sign in to comment.