mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
This PR makes several improvements to test-go CI job - remove ZSH dependency from all test suites except for a new `scripts` suite - add a `fast` suite that does not have out-of-process dependencies, which completes in ~1.5 minutes - contributors can add their fast tests to this suite so they can see the results in CI faster - Rename `core` to `main` test suite to be consistent with Makefile. It is the default bucket for tests. - Cleaned up Makefile so that it is more straightforward to add new test suites or move Go packages between suites - Do not stop the test suites on a fail. - We do not want to be blocked by a test fail that another product team introduced - Sometimes, we want to see all test failures so we can fix them all at once. - Removed `test-schema` and `mock` prerequisites for `test-go` since they are not needed and just take up time. - But also added `test-schema` run to one of the test suites just in case. Unfortunately, `fleetctl` is still the bottleneck and needs to be refactored. New issue filed: https://github.com/fleetdm/fleet/issues/27927 ## Before <img width="248" alt="image" src="https://github.com/user-attachments/assets/110ffc1d-f090-4d3e-be77-0419b9577d20" /> ## After <img width="320" alt="image" src="https://github.com/user-attachments/assets/8d01ea11-408f-4eb6-81d8-9c25410b8830" /> |
||
|---|---|---|
| .. | ||
| actions/r2-upload | ||
| ISSUE_TEMPLATE | ||
| scripts | ||
| workflows | ||
| dependabot.yml | ||
| pull_request_template.md | ||