mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-24 16:14:54 +01:00
Test fees (#698)
* feat: Add Docker container setup for Nutshell mint in test-nutshell recipe * test: Add wait mechanism for Nutshell docker container startup * test: Modify Nutshell wallet tests to run sequentially * fix: mintd set input fee pkk * feat: fee tests * fix: melt returning fee in change * fix: fee tests * fix: fee tests
This commit is contained in:
7
.github/workflows/nutshell_itest.yml
vendored
7
.github/workflows/nutshell_itest.yml
vendored
@@ -7,11 +7,6 @@ jobs:
|
||||
name: Nutshell Mint Integration Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Pull and start mint
|
||||
run: |
|
||||
docker run -d -p 3338:3338 --name nutshell -e MINT_LIGHTNING_BACKEND=FakeWallet -e MINT_LISTEN_HOST=0.0.0.0 -e MINT_LISTEN_PORT=3338 -e MINT_PRIVATE_KEY=TEST_PRIVATE_KEY cashubtc/nutshell:latest poetry run mint
|
||||
- name: Check running containers
|
||||
run: docker ps
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
@@ -21,7 +16,7 @@ jobs:
|
||||
- name: Rust Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Test Nutshell
|
||||
run: nix develop -i -L .#stable --command just test-nutshell
|
||||
run: nix develop -i -L .#integration --command just test-nutshell
|
||||
- name: Show logs if tests fail
|
||||
if: failure()
|
||||
run: docker logs nutshell
|
||||
|
||||
Reference in New Issue
Block a user