mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-02 20:45:29 +01:00
bindings/cashu-sdk wallet
This commit is contained in:
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@@ -12,13 +12,29 @@ env:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rust:
|
||||
- version: stable
|
||||
build-args:
|
||||
[
|
||||
-p cashu,
|
||||
-p cashu --no-default-features,
|
||||
-p cashu --no-default-features --features wallet,
|
||||
-p cashu --no-default-features --features mint,
|
||||
-p cashu-sdk,
|
||||
-p cashu-sdk --no-default-features,
|
||||
-p cashu-sdk --features blocking,
|
||||
]
|
||||
steps:
|
||||
- name: Checkout Crate
|
||||
uses: actions/checkout@v3
|
||||
- name: Set Toolchain
|
||||
# https://github.com/dtolnay/rust-toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run tests
|
||||
- name: Set default toolchain
|
||||
run: rustup default ${{ matrix.rust.version }}
|
||||
- name: Test
|
||||
run: |
|
||||
rustup update
|
||||
cargo test
|
||||
rustup
|
||||
cargo test ${{ matrix.build-arfgs }}
|
||||
|
||||
Reference in New Issue
Block a user