feat: itests

fix: melt change promises amount
This commit is contained in:
thesimplekid
2024-09-15 20:47:15 +01:00
parent 725f59af04
commit f9bb5eb913
14 changed files with 796 additions and 23 deletions

View File

@@ -54,7 +54,6 @@ jobs:
-p cdk-phoenixd,
-p cdk-strike,
-p cdk-lnbits,
-p cdk-integration-tests,
-p cdk-fake-wallet,
--bin cdk-cli,
--bin cdk-mintd
@@ -75,6 +74,29 @@ jobs:
- name: Test
run: nix develop -i -L .#stable --command cargo test ${{ matrix.build-args }}
itest:
name: "Integration tests"
runs-on: ubuntu-latest
strategy:
matrix:
build-args:
[
-p cdk-integration-tests,
]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v11
- name: Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v6
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Clippy
run: nix develop -i -L .#stable --command cargo clippy ${{ matrix.build-args }} -- -D warnings
- name: Test
run: nix develop -i -L .#stable --command just itest
msrv-build:
name: "MSRV build"
runs-on: ubuntu-latest