Carlo Cabrera
8963335eea
determine-test-runners: remove fake runner
...
Based on discussion from Homebrew/homebrew-core#127236 .
2023-04-08 01:33:53 +08:00
Carlo Cabrera
87373ff12a
Move more code out of dev-cmd
2023-04-06 02:13:15 +08:00
Carlo Cabrera
868f9395b6
Extract code to GitHubRunnerMatrix
class
...
The `GitHubRunnerMatrix` takes a list of testing formulae, deleted
formulae, and the available runners and constructs the matrix of active
runners for any given test job.
2023-04-05 03:52:26 +08:00
Carlo Cabrera
49e8d088ae
Move TestRunnerFormula
class into a separate file
2023-04-05 01:18:11 +08:00
Carlo Cabrera
26726adc21
determine-test-runners: refactor
...
This supports extraction into separate modules/files.
2023-04-05 01:09:56 +08:00
Carlo Cabrera
5194e5c65e
Check for --eval-all
before using HOMEBREW_EVAL_ALL
2023-04-05 00:03:58 +08:00
Carlo Cabrera
a4ebb96fe6
Remove MacOS
definition from generic OS
...
We don't want to define `MacOS` in the generic OS, so let's make sure we
refer to it as `OS::Mac` in the places we need it.
This reverts commit 575cb0263cb1428c63b9428bbd913ffde83bd317.
2023-04-04 23:10:51 +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
45fdbbd1c1
determine-test-runners: add type-checking
2023-04-03 22:27:46 +08:00
Carlo Cabrera
89cd55c287
dev-cmd/determine-test-runners: add command to set test runners
...
This is based on feedback from Homebrew/homebrew-core#127236 .
2023-04-03 20:36:45 +08:00