You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d162719
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/e2e.yml
+90-21Lines changed: 90 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,18 @@ concurrency:
26
26
group: e2e-${{ github.ref }}
27
27
cancel-in-progress: true
28
28
29
-
# The Linux job runs the suite natively, the way the dev container runs it
30
-
# locally: Go at the dev container's version (.devcontainer/Dockerfile) plus
31
-
# the runner's stock Docker, with the same TESTCONTAINERS_RYUK_DISABLED knob.
32
-
# The Windows jobs keep the compose runner image
33
-
# (tests/e2e/windows/Dockerfile-runner), which carries its own Go toolchain,
34
-
# so a Windows host needs only Docker. See docs/e2e.md.
29
+
# Both jobs run the suite natively: Go at the dev container's version
30
+
# (.devcontainer/Dockerfile) plus the runner's Docker. The Linux job runs it
31
+
# the way the dev container runs it locally, with the same
32
+
# TESTCONTAINERS_RYUK_DISABLED knob. The Windows jobs skip the compose
33
+
# runner image local Windows hosts use (tests/e2e/windows/Dockerfile-runner):
34
+
# baking Go into a Windows image costs minutes per run. See docs/e2e.md.
35
+
36
+
env:
37
+
GO_VERSION: '1.26.8'
38
+
# Runners are discarded with whatever still runs on them, so the suites
39
+
# tear containers down in the background (common.AsyncCleanup).
40
+
E2E_ASYNC_CLEANUP: 'true'
35
41
36
42
jobs:
37
43
e2e-linux:
@@ -53,7 +59,7 @@ jobs:
53
59
- uses: actions/checkout@v7
54
60
- uses: actions/setup-go@v7
55
61
with:
56
-
go-version: '1.26.8'
62
+
go-version: ${{ env.GO_VERSION }}
57
63
cache: false
58
64
- run: go test -v -timeout 55m -run TestE2E ./linux
59
65
working-directory: tests/e2e
@@ -66,27 +72,90 @@ jobs:
66
72
matrix:
67
73
# TODO See https://github.com/actions/runner-images/issues/13729
68
74
runs-on: [windows-latest, windows-11-arm]
69
-
include:
70
-
- runs-on: windows-latest
71
-
compose: tests/e2e/windows/compose.amd64.yaml
72
-
- runs-on: windows-11-arm
73
-
compose: tests/e2e/windows/compose.arm64.yaml
74
75
runs-on: ${{ matrix.runs-on }}
75
76
timeout-minutes: 60
77
+
defaults:
78
+
run:
79
+
shell: pwsh
80
+
env:
81
+
# windows-latest runs six combos, slowest first (common.SlowestFirst):
82
+
# with four at a time the short ones left over finish within the first
83
+
# wave. windows-11-arm runs two.
84
+
E2E_MAX_JOBS: '4'
76
85
steps:
77
86
- uses: actions/checkout@v7
78
-
# TODO For compiling moby only. Because https://github.com/actions/runner-images/blob/win11-arm64/20260920.174/images/windows/Windows11-Arm64-Readme.md is still using `Go 1.24.13`.
87
+
# The engine's data-root takes every image pull, layer commit and
88
+
# in-container Flutter install, and the runners' C: OS disk is slow
89
+
# remote storage. windows-latest keeps the workspace on a local D:
90
+
# disk: move the preinstalled engine's data-root next to it.
91
+
- if: matrix.runs-on == 'windows-latest'
92
+
name: Move the Docker data-root to the workspace disk
0 commit comments