Skip to content

Commit 10877e7

Browse files
committed
fix(ci): move E2E test references to stacked PR
The [[test]] entry, E2E CI job, and clippy --test it step reference tests/it/main.rs which lives in the stacked PR (#64). Move these declarations there so this infrastructure PR can pass CI independently.
1 parent 69fd872 commit 10877e7

3 files changed

Lines changed: 0 additions & 38 deletions

File tree

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,4 @@ jobs:
4848
- name: Run Clippy
4949
run: cargo clippy --all --all-targets -- -D warnings
5050

51-
- name: Run Clippy for feature-gated integration tests
52-
run: cargo clippy -p morph-node --test it --features test-utils -- -D warnings
5351

.github/workflows/test.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -49,35 +49,4 @@ jobs:
4949
- name: Run doc tests
5050
run: cargo test --doc --all --verbose
5151

52-
e2e:
53-
name: E2E Tests
54-
runs-on: ubuntu-latest
55-
timeout-minutes: 15
56-
env:
57-
RUST_MIN_STACK: 8388608
58-
steps:
59-
- name: Checkout repository
60-
uses: actions/checkout@v4
61-
62-
- name: Install Rust toolchain
63-
uses: dtolnay/rust-toolchain@stable
64-
65-
- name: Cache cargo registry
66-
uses: actions/cache@v4
67-
with:
68-
path: |
69-
~/.cargo/registry
70-
~/.cargo/git
71-
target
72-
key: ${{ runner.os }}-cargo-e2e-${{ hashFiles('**/Cargo.lock') }}
73-
restore-keys: |
74-
${{ runner.os }}-cargo-e2e-
75-
76-
- name: Install nextest
77-
uses: taiki-e/install-action@v2
78-
with:
79-
tool: cargo-nextest
80-
81-
- name: Run E2E tests
82-
run: cargo nextest run --profile ci -p morph-node --test it --features test-utils
8352

crates/node/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ morph-payload-types.workspace = true
8484
morph-primitives.workspace = true
8585
serde_json.workspace = true
8686

87-
[[test]]
88-
name = "it"
89-
path = "tests/it/main.rs"
90-
required-features = ["test-utils"]
91-
9287
[features]
9388
default = []
9489
test-utils = [

0 commit comments

Comments
 (0)