mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 12:04:21 +01:00
index on db and read spent proofs from db (#370)
* index on db and read spent proofs from db * add benchmark for testing * remove benchmark * add option to disable cached secrets * disable python 3.9 tests
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -12,8 +12,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
python-version: ["3.9", "3.10"]
|
||||
python-version: ["3.10"]
|
||||
poetry-version: ["1.5.1"]
|
||||
mint-cache-secrets: ["true", "false"]
|
||||
# db-url: ["", "postgres://cashu:cashu@localhost:5432/test"] # TODO: Postgres test not working
|
||||
db-url: [""]
|
||||
backend-wallet-class: ["FakeWallet"]
|
||||
@@ -21,6 +22,7 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
poetry-version: ${{ matrix.poetry-version }}
|
||||
mint-cache-secrets: ${{ matrix.mint-cache-secrets }}
|
||||
regtest:
|
||||
uses: ./.github/workflows/regtest.yml
|
||||
strategy:
|
||||
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -15,6 +15,9 @@ on:
|
||||
os:
|
||||
default: "ubuntu-latest"
|
||||
type: string
|
||||
mint-cache-secrets:
|
||||
default: "false"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
poetry:
|
||||
@@ -47,6 +50,7 @@ jobs:
|
||||
MINT_HOST: localhost
|
||||
MINT_PORT: 3337
|
||||
MINT_DATABASE: ${{ inputs.db-url }}
|
||||
MINT_CACHE_SECRETS: ${{ inputs.mint-cache-secrets }}
|
||||
TOR: false
|
||||
run: |
|
||||
make test
|
||||
|
||||
Reference in New Issue
Block a user