Skip to content

Commit 1aae042

Browse files
committed
Add npm test to CI
1 parent e153467 commit 1aae042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
- name: Check that the latest auto-generated Swift files are in the repo
3838
run: |
3939
npm install
40-
# python3 ./ # Generate bindings into local directory
4140
npm run tsc
4241
node ./src/index.mjs
43-
# git diff --exit-code ci/LDKSwift/Sources/LDKSwift ':(exclude)ci/LDKSwift/Sources/LDKSwift/bindings/Bindings.swift'
4442
env:
4543
LDK_SWIFT_GENERATOR_INPUT_HEADER_PATH: ci/ldk-c-bindings/lightning-c-bindings/include/lightning.h
44+
- name: Test bindings parsing and generation
45+
run: npm test
4646
- name: Install Swift Toolchain
4747
run: |
4848
curl --verbose -L -o swift-5.7.2-RELEASE-ubuntu22.04.tar.gz https://download.swift.org/swift-5.7.2-release/ubuntu2204/swift-5.7.2-RELEASE/swift-5.7.2-RELEASE-ubuntu22.04.tar.gz

0 commit comments

Comments
 (0)