Skip to content

Commit afee7a2

Browse files
committed
cli: Remove Rust integration test suite and Nix infrastructure
Delete the compiled-binary integration tests (setup_integration, config_precedence_integration) and their supporting test harness, along with the associated Nix flake apps/checks that exposed them. Remove related context contract documents and cross-references throughout the codebase.
1 parent ab14086 commit afee7a2

File tree

13 files changed

+3
-2330
lines changed

13 files changed

+3
-2330
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -43,58 +43,6 @@ jobs:
4343
- name: Run nix flake check
4444
run: nix flake check
4545

46-
cli-ubuntu:
47-
name: CLI tests (Ubuntu)
48-
needs: smoke
49-
runs-on: ubuntu-latest
50-
timeout-minutes: 10
51-
steps:
52-
- name: Check out repository
53-
uses: actions/checkout@v6
54-
55-
- name: Install Nix
56-
uses: cachix/install-nix-action@v31
57-
58-
- name: Run CLI integration tests
59-
run: nix run .#cli-integration-tests
60-
61-
cli-macos:
62-
name: CLI tests (macOS)
63-
needs: smoke
64-
runs-on: macos-latest
65-
timeout-minutes: 10
66-
steps:
67-
- name: Check out repository
68-
uses: actions/checkout@v6
69-
70-
- name: Install Nix
71-
uses: cachix/install-nix-action@v31
72-
73-
- name: Run CLI integration tests
74-
run: nix run .#cli-integration-tests
75-
76-
cli-windows:
77-
name: CLI tests (Windows)
78-
needs: smoke
79-
runs-on: windows-latest
80-
timeout-minutes: 10
81-
steps:
82-
- name: Check out repository
83-
uses: actions/checkout@v6
84-
85-
- name: Install Rust toolchain
86-
uses: dtolnay/rust-toolchain@stable
87-
with:
88-
components: clippy
89-
90-
- name: Run clippy
91-
working-directory: cli
92-
run: cargo clippy --all-targets --all-features
93-
94-
- name: Run setup integration tests
95-
working-directory: cli
96-
run: cargo test --test setup_integration
97-
9846
token-count:
9947
name: Token count
10048
needs: smoke

cli/flake.nix

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,6 @@
111111
};
112112
};
113113

114-
apps.config-precedence-integration-tests = {
115-
type = "app";
116-
program = toString (
117-
pkgs.writeShellScript "sce-config-precedence-integration-tests" ''
118-
exec ${rustToolchain}/bin/cargo test --manifest-path cli/Cargo.toml --test config_precedence_integration "$@"
119-
''
120-
);
121-
meta = {
122-
description = "Run config-precedence integration tests for the sce CLI crate";
123-
};
124-
};
125-
126114
checks.cli-setup-command-surface = mkCheck "sce-cli-setup-command-surface-check" ''
127115
runHook preCheck
128116
@@ -134,15 +122,6 @@
134122
runHook postCheck
135123
'';
136124

137-
checks.cli-setup-integration = mkCheck "sce-cli-setup-integration-check" ''
138-
runHook preCheck
139-
140-
export PATH="${pkgs.git}/bin:$PATH"
141-
cargo test --test setup_integration
142-
143-
runHook postCheck
144-
'';
145-
146125
checks.cli-clippy = mkCheck "sce-cli-clippy-check" ''
147126
runHook preCheck
148127

0 commit comments

Comments
 (0)