Skip to content

Commit 0a5e4ac

Browse files
mattwobertsclaude
andcommitted
Speed up CI: add concurrency groups, drop arm64 test matrix, reduce PR e2e browsers
- Cancel in-progress workflow runs when new commits are pushed to the same branch - Remove unused arm64 matrix from test-server (runners are x86_64, arm64 is tested in publish) - Run e2e UI tests on chromium only for PRs, all 3 browsers on main/stable pushes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1fb4051 commit 0a5e4ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
branches:
1212
- main
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
test-ui:
1620
name: test-ui
@@ -29,10 +33,6 @@ jobs:
2933
test-server:
3034
name: test-server
3135
runs-on: ubuntu-latest
32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
arch: [x86_64, arm64]
3636
services:
3737
minio:
3838
image: getfider/minio:0.0.2
@@ -128,7 +128,7 @@ jobs:
128128
strategy:
129129
fail-fast: false
130130
matrix:
131-
browser: ["chromium", "webkit", "firefox"]
131+
browser: ${{ github.event_name == 'pull_request' && fromJSON('["chromium"]') || fromJSON('["chromium","webkit","firefox"]') }}
132132
steps:
133133
- uses: actions/checkout@v6
134134
- name: Use Node.js 22.x

0 commit comments

Comments
 (0)