ci: parallelize Linux tests and skip HAR packaging on PRs (#2678)

This commit is contained in:
KKRainbow authored and GitHub committed 2026-10-12 09:09:52 +08:00
1 parent f8a45ccc20
commit 1649ec0013
9 files changed
+1032 -555

No files matched your search

+9 -1
View File
@@ -11,6 +11,12 @@ Test runs CI script tests, fmt, clippy, WASI, Cargo.lock validation, and
Linux tests for `easytier`/`easytier-core`, including `three_node`. Full mode
also checks each `easytier` feature except `macos-ne`.
Linux tests run on one runner with 32 concurrent nextest processes. Network
integration tests use separate namespaces and bridges for each test. Subnet
proxy cases run at most eight at a time. Tests that use host-wide network state,
measure bandwidth, or make time-sensitive connectivity assertions run first,
exclusively, before the parallel tests.
These four workflows skip build/test jobs for draft PRs. Path and duplicate
content checks can skip ordinary builds and Rust jobs. The result jobs are
`core-result`, `gui-result`, `mobile-result`, and `test`.
@@ -51,6 +57,8 @@ It downloads their artifacts and creates a draft release.
## Other workflows
- OHOS runs independently; relevant PRs can still upload HAR artifacts.
- OHOS runs independently. Relevant PRs run bridge tests and check the bindings
for the host and ARM64 OHOS. Non-PR runs build and upload HAR artifacts;
publishing and downstream builds retain their existing main/manual conditions.
- Go, JavaScript Hosts, and Nix use their own path filters.
- Docker is manual; it downloads a specified Core run's artifacts and pushes images.