Skip to content

Commit 52aeccc

Browse files
committed
f CI
1 parent 5849f4b commit 52aeccc

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16+
ext-test:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout source code
20+
uses: actions/checkout@v4
21+
- name: Install Rust stable toolchain
22+
run: |
23+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain stable
24+
rustup override set stable
25+
- name: Run externalized tests
26+
run: |
27+
cd ext-functional-test-demo
28+
cargo test --verbose --color always
29+
cargo test --verbose --color always --features test-broken
1630
build:
1731
strategy:
1832
fail-fast: false

ci/ci-tests.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ RUSTFLAGS="$RUSTFLAGS --cfg=ldk_test_vectors" cargo test -p lightning --verbose
142142
# check that compile with no_std and serde works in lightning-invoice
143143
cargo test -p lightning-invoice --verbose --color always --no-default-features --features serde
144144

145-
echo -e "\n\nRunning externalized integration tests"
146-
pushd ext-functional-test-demo
147-
cargo test --verbose --color always
148-
cargo test --verbose --color always --features test-broken
149-
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean
150-
popd
151-
152145
echo -e "\n\nTesting no_std build on a downstream no-std crate"
153146
# check no-std compatibility across dependencies
154147
pushd no-std-check

0 commit comments

Comments
 (0)