Add comments and improved the API #132
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: Nutshell integration | |
| on: [push, pull_request] | |
| jobs: | |
| nutshell-integration-tests: | |
| name: Nutshell Mint Integration Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v17 | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Test Nutshell | |
| run: nix develop -i -L .#integration --command just test-nutshell | |
| - name: Show logs if tests fail | |
| if: failure() | |
| run: docker logs nutshell | |
| nutshell-wallet-integration-tests: | |
| name: Nutshell Wallet Integration Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Pull Nutshell Docker image | |
| run: docker pull cashubtc/nutshell:latest | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v17 | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Test Nutshell Wallet | |
| run: | | |
| nix develop -i -L .#integration --command just nutshell-wallet-itest | |
| - name: Show Docker logs if tests fail | |
| if: failure() | |
| run: docker logs nutshell-wallet || true |