Add DerivationPath helper methods #1912
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Swift | |
| # Tests the Swift bindings for bdk-ffi on macOS. | |
| # Builds the Swift package and runs unit tests. | |
| # Triggered by changes to bdk-ffi or bdk-swift directories, or manually via workflow_dispatch. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - "bdk-ffi/**" | |
| - "bdk-swift/**" | |
| pull_request: | |
| paths: | |
| - "bdk-ffi/**" | |
| - "bdk-swift/**" | |
| permissions: {} | |
| jobs: | |
| test: | |
| name: "Test Swift library" | |
| runs-on: macos-14 | |
| defaults: | |
| run: | |
| working-directory: bdk-swift | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: "Set up Rust" | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: "Build Swift package" | |
| run: bash ./build-xcframework.sh | |
| - name: "Run Swift tests" | |
| run: swift test --filter Offline |