Andrew Eisenberg
1384ce4ab3
Fixes spurious error messages in tests
...
Previously, `isAnalyzingDefaultBranch` was failing because there are
some missing env vars: `GITHUB_SHA`, `GITHUB_REF`, and
`GITHUB_EVENT_PATH`. Also, `checkout_path` is missing as an input.
Rather than trying to set them to mock values, which would require
setting the paths to existing paths in the file system, I chose to stub
the entire function. I think this is fine since the point of the test
is to check the ram and threads values, not testing the
`isAnalyzingDefaultBranch` function.
2022-11-29 10:53:11 -08:00
..
2021-04-28 16:07:55 -07:00
2022-11-16 10:49:49 +01:00
2022-11-16 10:49:49 +01:00
2022-11-14 16:37:48 +00:00
2022-11-14 16:37:48 +00:00
2022-06-30 09:16:10 +01:00
2022-06-30 09:16:10 +01:00
2022-08-16 11:54:31 +01:00
2022-08-16 11:54:31 +01:00
2022-11-29 10:53:11 -08:00
2022-11-29 10:53:11 -08:00
2022-11-29 10:53:11 -08:00
2022-11-29 10:53:11 -08:00
2022-08-11 16:47:31 +02:00
2022-08-11 16:47:31 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-11-23 13:57:07 +00:00
2022-11-23 13:57:07 +00:00
2022-11-14 22:25:31 +00:00
2022-11-14 22:25:31 +00:00
2022-11-11 19:00:45 +00:00
2022-11-11 19:00:45 +00:00
2022-11-14 19:55:30 +00:00
2022-11-14 19:55:30 +00:00
2022-11-14 19:55:30 +00:00
2022-11-14 19:55:30 +00:00
2022-11-23 00:13:03 +00:00
2022-11-15 19:35:30 +00:00
2022-11-15 19:35:30 +00:00
2022-11-14 13:54:35 -08:00
2022-11-14 13:54:35 -08:00
2022-11-23 15:11:20 -08:00
2022-11-23 15:11:20 -08:00
2022-11-23 15:11:20 -08:00
2022-11-23 15:11:20 -08:00
2022-11-24 12:33:42 -08:00
2022-11-24 12:33:42 -08:00
2022-11-24 11:06:29 -08:00
2022-11-24 11:06:29 -08:00
2022-11-14 19:55:30 +00:00
2022-11-14 19:55:30 +00:00
2022-11-14 16:37:48 +00:00
2022-11-14 16:37:48 +00:00
2022-08-11 13:45:26 +02:00
2022-08-11 13:45:26 +02:00
2022-08-10 14:57:57 +02:00
2022-08-10 14:57:57 +02:00
2022-11-23 18:56:23 +00:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-11-23 22:18:12 -08:00
2022-11-23 22:18:12 -08:00
2022-11-21 14:30:36 -08:00
2022-11-21 14:30:36 -08:00
2022-06-29 18:59:33 +01:00
2022-06-29 18:59:33 +01:00
2022-06-29 18:59:33 +01:00
2022-06-29 18:59:33 +01:00
2022-11-07 18:50:59 +00:00
2022-11-07 18:50:59 +00:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-11-23 15:11:20 -08:00
2022-11-23 15:11:20 -08:00
2022-11-23 15:11:20 -08:00
2022-11-23 15:11:20 -08:00
2022-11-23 22:18:12 -08:00
2022-11-23 22:18:12 -08:00
2022-11-23 22:18:12 -08:00
2022-11-23 22:18:12 -08:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2022-11-16 16:40:30 +00:00
2022-11-16 16:40:30 +00:00
2022-11-23 22:18:12 -08:00
2022-11-23 15:11:20 -08:00
2021-12-09 13:21:32 +00:00
2021-12-09 13:21:32 +00:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2022-11-14 13:54:35 -08:00
2022-11-14 13:54:35 -08:00
2022-11-14 13:54:35 -08:00
2022-11-14 13:54:35 -08:00
2022-11-16 15:49:52 +00:00
2022-11-16 15:49:52 +00:00
2022-09-23 15:22:31 +01:00
2022-09-23 15:22:31 +01:00
2022-11-23 13:57:07 +00:00
2022-11-23 13:57:07 +00:00
2022-11-23 13:57:07 +00:00
2022-11-23 13:57:07 +00:00
2022-11-23 13:57:07 +00:00
2022-11-23 13:57:07 +00:00
2022-11-24 12:33:42 -08:00
2022-11-24 12:33:42 -08:00
2022-11-24 11:06:29 -08:00
2022-11-24 11:06:29 -08:00