nutshell_itest.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: Nutshell integration
  2. on: [push, pull_request]
  3. jobs:
  4. nutshell-integration-tests:
  5. name: Nutshell Mint Integration Tests
  6. runs-on: ubuntu-latest
  7. timeout-minutes: 15
  8. steps:
  9. - name: checkout
  10. uses: actions/checkout@v4
  11. - name: Install Nix
  12. uses: DeterminateSystems/nix-installer-action@v17
  13. - name: Rust Cache
  14. uses: Swatinem/rust-cache@v2
  15. - name: Test Nutshell
  16. run: nix develop -i -L .#integration --command just test-nutshell
  17. - name: Show logs if tests fail
  18. if: failure()
  19. run: docker logs nutshell
  20. nutshell-wallet-integration-tests:
  21. name: Nutshell Wallet Integration Tests
  22. runs-on: ubuntu-latest
  23. timeout-minutes: 15
  24. steps:
  25. - name: checkout
  26. uses: actions/checkout@v4
  27. - name: Pull Nutshell Docker image
  28. run: docker pull cashubtc/nutshell:latest
  29. - name: Install Nix
  30. uses: DeterminateSystems/nix-installer-action@v17
  31. - name: Rust Cache
  32. uses: Swatinem/rust-cache@v2
  33. - name: Test Nutshell Wallet
  34. run: |
  35. nix develop -i -L .#integration --command just nutshell-wallet-itest
  36. - name: Show Docker logs if tests fail
  37. if: failure()
  38. run: docker logs nutshell-wallet || true