Run all-target tests in release gates
ci / test (push) Waiting to run
ci / fuzz-smoke (push) Waiting to run
ci / windows-client (push) Waiting to run
ci / package-release (linux-x86_64, ubuntu-latest) (push) Waiting to run
ci / package-release (macos-aarch64, macos-14) (push) Waiting to run
ci / package-release (macos-x86_64, macos-13) (push) Waiting to run
ci / package-release (windows-x86_64, windows-latest) (push) Waiting to run
ci / publish-gitea-release (push) Blocked by required conditions
ci / remote-bench (push) Waiting to run
ci / test (push) Waiting to run
ci / fuzz-smoke (push) Waiting to run
ci / windows-client (push) Waiting to run
ci / package-release (linux-x86_64, ubuntu-latest) (push) Waiting to run
ci / package-release (macos-aarch64, macos-14) (push) Waiting to run
ci / package-release (macos-x86_64, macos-13) (push) Waiting to run
ci / package-release (windows-x86_64, windows-latest) (push) Waiting to run
ci / publish-gitea-release (push) Blocked by required conditions
ci / remote-bench (push) Waiting to run
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
- name: Format check
|
||||
run: cargo fmt -- --check
|
||||
- name: Test
|
||||
run: cargo test
|
||||
run: cargo test --all-targets
|
||||
- name: Build release
|
||||
run: cargo build --release
|
||||
- name: Docker SSH benchmark gate
|
||||
|
||||
@@ -4,7 +4,7 @@ build:
|
||||
cargo build --release
|
||||
|
||||
test:
|
||||
cargo test
|
||||
cargo test --all-targets
|
||||
|
||||
fmt:
|
||||
cargo fmt
|
||||
@@ -16,7 +16,7 @@ release-check:
|
||||
cargo fmt --check
|
||||
sh -n install.sh scripts/*.sh
|
||||
cargo clippy --all-targets -- -D warnings
|
||||
cargo test
|
||||
cargo test --all-targets
|
||||
$(MAKE) tui-harness
|
||||
|
||||
1.0-check: release-check reconnect-check hostile-network-check persistence-check package-check
|
||||
|
||||
@@ -51,6 +51,15 @@ fn release_upload_marks_prerelease_tags_as_prereleases() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn release_gates_test_all_targets() {
|
||||
let makefile = include_str!("../Makefile");
|
||||
let ci = include_str!("../.github/workflows/ci.yml");
|
||||
assert!(makefile.contains("test:\n\tcargo test --all-targets"));
|
||||
assert!(makefile.contains("cargo test --all-targets\n\t$(MAKE) tui-harness"));
|
||||
assert!(ci.contains("run: cargo test --all-targets"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn installers_skip_stale_latest_release_prebuilts() {
|
||||
let install = include_str!("../install.sh");
|
||||
|
||||
Reference in New Issue
Block a user