Skip to content

Commit 8a0e63d

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 but since we already have the `Integration` job set up to manage these features we can just run the `node` tests from there also. This has the added advantage that the same downloaded Bitcoin Core binary will be used (I hope). Add a script and call it from the `Integration` job. In the script first run the `node` tests and then run the integration tests.
1 parent 5afc0ab commit 8a0e63d

File tree

6 files changed

+1632
-10
lines changed

6 files changed

+1632
-10
lines changed

.github/workflows/rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)