headscale/.github/workflows
Kristoffer Dalby c4600346f9
Some checks failed
Build / build-nix (push) Has been cancelled
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Has been cancelled
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Has been cancelled
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Has been cancelled
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Has been cancelled
Check Generated Files / check-generated (push) Has been cancelled
NixOS Module Tests / nix-module-check (push) Has been cancelled
Tests / test (push) Has been cancelled
.github/workflows: prebuilt integration test artifacts (#2954)
This PR restructures the integration tests and prebuilds all common assets used in all tests:

Headscale and Tailscale HEAD image
hi binary that is used to run tests
go cache is warmed up for compilation of the test
This essentially means we spend 6-10 minutes building assets before any tests starts, when that is done, all tests can just sprint through.

It looks like we are saving 3-9 minutes per test, and since we are limited to running max 20 concurrent tests across the repo, that means we had a lot of double work.

There is currently 113 checks, so we have to do five runs of 20, and the saving should be quite noticeable! I think the "worst case" saving would be 20+min and "best case" probably towards an hour.
2025-12-12 23:01:52 +01:00
..
build.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
check-generated.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
check-tests.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
docs-deploy.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
docs-test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
gh-action-integration-generator.go .github/workflow: only run a few selected postgres tests 2025-07-07 15:48:38 +01:00
gh-actions-updater.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
integration-test-template.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
lint.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
nix-module-test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
release.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
stale.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
test-integration.yaml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
test.yml .github/workflows: prebuilt integration test artifacts (#2954) 2025-12-12 23:01:52 +01:00
update-flake.yml cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00