Carlo Cabrera
51c4421409
Change default Homebrew/core CI runners
...
We will now build on Ventura (macOS 13) to Sequoia (macOS 15).
Runners for macOS 15-x86_64 will not be allocated by default due to a
lack of appropriate hardware.
2024-09-12 22:06:10 +08:00
Carlo Cabrera
c51bb196d1
tests: update determine-test-runners
tests
...
We've decoupled the macOS versions there from
`MacOSVersion#supported_release?`, so these tests need updating.
2024-09-11 20:20:08 +08:00
Carlo Cabrera
a9c8556b9d
github_runner_matrix: define timeout values in constants
...
This allows us to keep all information about timeout values here in
`brew` instead of both here and in Homebrew/core.
Will be needed after Homebrew/homebrew-core#171457 .
2024-05-12 04:48:00 +08:00
Carlo Cabrera
90c198fd5c
determine-test-runners: fix failing test
2024-05-12 02:09:37 +08:00
Douglas Eichelberger
19f9c52652
Port Homebrew::DevCmd::DetermineTestRunners
2024-03-21 19:04:30 -07:00
Douglas Eichelberger
26eda5a303
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
2024-02-19 13:57:27 +00:00
Douglas Eichelberger
36f64d6b30
Enable Style/TopLevelMethodDefinition
2024-01-26 11:37:11 -08:00
Carlo Cabrera
8860d8398f
determine-test-runners: fix test
2023-05-29 23:06:09 +08:00
Markus Reiter
8274920217
Rename OS::Mac::Version
to MacOSVersion
.
2023-05-09 05:08:38 +02:00
Carlo Cabrera
f3724f00d2
determine-test-runners: fix test
2023-04-29 11:36:31 +08:00
Carlo Cabrera
ff728da97b
github_runner_matrix: remove HOMEBREW_LINUX_CLEANUP
...
This will allow us to remove handling of this in our workflow files in
Homebrew/core.
2023-04-27 16:45:51 +08:00
Carlo Cabrera
1a86a91c1b
determine-test-runners: fix test
2023-04-25 16:42:02 +08:00
Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Carlo Cabrera
5b8ead7bc8
Add more tests
...
Also, remove most integration tests, because they're slow.
2023-04-07 22:21:46 +08:00
Carlo Cabrera
87373ff12a
Move more code out of dev-cmd
2023-04-06 02:13:15 +08:00
Carlo Cabrera
5194e5c65e
Check for --eval-all
before using HOMEBREW_EVAL_ALL
2023-04-05 00:03:58 +08:00
Carlo Cabrera
506f6c81a7
Support --dependents
flag on macOS
2023-04-04 16:20:37 +08:00
Carlo Cabrera
c125079d0f
determine-test-runners: allow usage on macOS without --dependents
2023-04-04 13:54:35 +08:00
Carlo Cabrera
3d03d243a4
determine-test-runners: test failure modes (again)
2023-04-04 13:25:44 +08:00
Carlo Cabrera
e191dbfb9e
Improve style
2023-04-04 13:20:03 +08:00
Carlo Cabrera
7ff2382d74
determine-test-runners: fix parallel tests
...
Since these tests run in parallel, we want to minimise our reliance on
environment variables. Also, we need to make sure that different
examples write to different paths.
2023-04-04 12:16:54 +08:00
Carlo Cabrera
4cb50a38c7
Improve versioned macOS test
2023-04-04 02:42:14 +08:00
Carlo Cabrera
839b7d44cc
determine-test-runners: test failure modes
2023-04-04 02:30:13 +08:00
Carlo Cabrera
3d7d4c60f7
determine-test-runners_spec: hardcode fewer things
2023-04-04 02:13:35 +08:00
Carlo Cabrera
3dc66fae9f
determine-test-runners: add non-trivial tests
2023-04-04 01:46:33 +08:00
Carlo Cabrera
140e751ec6
Fix brew style
2023-04-04 01:12:05 +08:00
Carlo Cabrera
d5dc9ee5e0
determine-test-runners: test --dependents
2023-04-04 01:02:47 +08:00
Carlo Cabrera
4dc370ca24
Add some more tests
2023-04-04 00:45:54 +08:00
Carlo Cabrera
ae63b23472
determine-test-runners: add a test
...
I'll add more substantial tests shortly, but let's start with this one.
2023-04-03 22:42:00 +08:00