Skip to content

Commit 17b94df

Browse files
committed
Run node tests
Currently we have a job for each supported version of Bitcoin Core and in it we run the integration tests. Note also that `node` is currently not a member of the workspace. So it misses out on all the benefits of `run_task` (e.g., linting). However `node` cannot be directly run using `run_task` because of its unusual features - it requires a version feature to build. Add a script to lint and one to run tests then call these from CI. While we are at it update the justfile now that `node` can be linted and formatted as part of workspace commands. Also update the `update-lock-files` script.
1 parent f09cd50 commit 17b94df

File tree

9 files changed

+1723
-14
lines changed

9 files changed

+1723
-14
lines changed

.github/workflows/rust.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
- name: "Set dependencies"
120120
run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock
121121
- name: "Run test script"
122-
run: ./maintainer-tools/ci/run_task.sh lint
122+
run: contrib/lint.sh
123123

124124
Docs:
125125
name: Docs - stable toolchain
@@ -232,4 +232,4 @@ jobs:
232232
- name: "Select toolchain"
233233
uses: dtolnay/rust-toolchain@stable
234234
- name: "Run integration tests"
235-
run: cd integration_test && cargo test --features=${{ matrix.feature }}
235+
run: ./contrib/version_specific_tests.sh ${{ matrix.feature }}

0 commit comments

Comments
 (0)