- Notifications
You must be signed in to change notification settings - Fork906
Commita0e229a
authored
chore: run test-go-pg on macOS and Windows in regular CI (#17853)
This PR starts running test-go-pg on macOS and Windows in regular CI.Previously this suite was only run in the nightly gauntlet for 2reasons:- it was flaky- it was slow (took 17 minutes)We've since stabilized the flakiness by switching to depot runners,using ram disks, optimizing the number of tests run in parallel, andautomatically re-running failing tests. We've also [broughtdown](#17756) the time to run thesuite to 9 minutes. Additionally, this PR allows test-go-pg to use cachefrom previous runs, which speeds it up further. The cache is only usedon PRs, `main` will still run tests without it.This PR also:- removes the nightly gauntlet since all tests now run in regular CI- removes the `test-cli` job for the same reason- removes the `setup-imdisk` action which is now fully replaced by[coder/setup-ramdisk-action](https://github.com/coder/setup-ramdisk-action)- makes 2 minor changes which could be separate PRs, but I rolled theminto this because they were helpful when iterating on it:- replace the `if: always()` condition on the `gen` job with a `if: ${{!cancelled() }}` to allow the job to be cancelled. Previously the jobwould run to completion even if the entire workflow was cancelled. See[the GitHubdocs](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#always)for more details.- disable the recently added `TestReinitializeAgent` since it does notpass on Windows with Postgres. There's an open issue to fix it:coder/internal#642This PR will:- unblock#15109- alleviatecoder/internal#647I tested caching by temporarily enabling cache upload on this PR: here's[arun](https://github.com/coder/coder/actions/runs/15119046903/job/42496939341?pr=17853#step:13:1296)showing cache being used.1 parentf825477 commita0e229a
File tree
6 files changed
+247
-303
lines changed- .github
- actions
- setup-go
- setup-go-paths
- setup-imdisk
- workflows
- scripts
6 files changed
+247
-303
lines changedLines changed: 57 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + |
Lines changed: 8 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 | 17 |
| |
39 | 18 |
| |
40 | 19 |
| |
41 | 20 |
| |
| 21 | + | |
42 | 22 |
| |
43 | 23 |
| |
44 | 24 |
| |
45 | 25 |
| |
46 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
47 | 31 |
| |
48 | 32 |
| |
49 | 33 |
| |
|
Lines changed: 0 additions & 27 deletions
This file was deleted.
0 commit comments
Comments
(0)