From 5fd2f205f7b0caf283449d6ef94f0d522ba2efb7 Mon Sep 17 00:00:00 2001 From: fullstackjam Date: Tue, 19 May 2026 10:56:13 +0800 Subject: [PATCH] ci: add L4 vm-e2e as gate in release workflow Run group-a and group-b L4 tests on macos-14 in parallel after gate-tests passes; build job only proceeds once both L4 groups are green. --- .github/workflows/release.yml | 38 ++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 501d8a2..a57dd61 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,8 +64,44 @@ jobs: - name: Unit tests run: make test-unit + l4-group-a: + needs: gate-tests + runs-on: macos-14 + timeout-minutes: 60 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + cache: true + - name: Build binary + run: make build + - name: Run group-a tests + run: | + go test -v -timeout 55m -tags="e2e,vm" \ + -run 'TestVM_Journey_FirstTimeUser|TestVM_Journey_DryRunIsCompletelySafe|TestVM_Interactive_InstallScript' \ + ./test/e2e/... + + l4-group-b: + needs: gate-tests + runs-on: macos-14 + timeout-minutes: 60 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + cache: true + - name: Build binary + run: make build + - name: Run group-b tests + run: | + go test -v -timeout 55m -tags="e2e,vm" \ + -run 'TestVM_Journey_Dotfiles|TestVM_Journey_MacOS|TestVM_Journey_FullSetupConfiguresEverything|TestVM_Edge_|TestSmoke_|TestE2E_' \ + ./test/e2e/... + build: - needs: [detect-release-type, gate-tests] + needs: [detect-release-type, gate-tests, l4-group-a, l4-group-b] runs-on: ubuntu-latest strategy: matrix: