Merge pull request #1085 from a1denvalu3/fix/mint-recalculate-dleq-on… #2924
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| checks: | |
| uses: ./.github/workflows/checks.yml | |
| tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.12"] | |
| poetry-version: ["2.3.2"] | |
| # Wallet v0 / deprecated mint API support was removed in https://github.com/cashubtc/nutshell/pull/814; deprecated-only CI runs are no longer valid. | |
| # mint-only-deprecated: ["false", "true"] | |
| mint-only-deprecated: ["false"] | |
| mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"] | |
| backend-wallet-class: ["FakeWallet"] | |
| uses: ./.github/workflows/tests.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| python-version: ${{ matrix.python-version }} | |
| poetry-version: ${{ matrix.poetry-version }} | |
| mint-only-deprecated: ${{ matrix.mint-only-deprecated }} | |
| mint-database: ${{ matrix.mint-database }} | |
| tests_redis_cache: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.12"] | |
| poetry-version: ["2.3.2"] | |
| mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"] | |
| uses: ./.github/workflows/tests_redis_cache.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| python-version: ${{ matrix.python-version }} | |
| poetry-version: ${{ matrix.poetry-version }} | |
| mint-database: ${{ matrix.mint-database }} | |
| tests_keycloak_auth: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.12"] | |
| poetry-version: ["2.3.2"] | |
| mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"] | |
| uses: ./.github/workflows/tests_keycloak_auth.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| python-version: ${{ matrix.python-version }} | |
| poetry-version: ${{ matrix.poetry-version }} | |
| mint-database: ${{ matrix.mint-database }} | |
| regtest-mint: | |
| uses: ./.github/workflows/regtest-mint.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12"] | |
| poetry-version: ["2.3.2"] | |
| backend-wallet-class: | |
| ["LndRPCWallet", "LndRestWallet", "CLNRestWallet", "CoreLightningRestWallet", "LNbitsWallet"] | |
| mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"] | |
| # mint-database: ["./test_data/test_mint"] | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| backend-wallet-class: ${{ matrix.backend-wallet-class }} | |
| mint-database: ${{ matrix.mint-database }} | |
| regtest-wallet: | |
| uses: ./.github/workflows/regtest-wallet.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12"] | |
| poetry-version: ["2.3.2"] | |
| backend-wallet-class: | |
| ["LndRPCWallet", "LndRestWallet", "CLNRestWallet", "CoreLightningRestWallet", "LNbitsWallet"] | |
| mint-database: ["./test_data/test_mint", "postgres://cashu:cashu@localhost:5432/cashu"] | |
| # mint-database: ["./test_data/test_mint"] | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| backend-wallet-class: ${{ matrix.backend-wallet-class }} | |
| mint-database: ${{ matrix.mint-database }} |