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 * add benchmark for testing * remove benchmark * add option to disable cached secrets * disable python 3.9 tests
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
name: Nutshell CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
checks:
|
|
uses: ./.github/workflows/checks.yml
|
|
tests:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
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"]
|
|
uses: ./.github/workflows/tests.yml
|
|
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:
|
|
matrix:
|
|
python-version: ["3.10"]
|
|
poetry-version: ["1.5.1"]
|
|
backend-wallet-class:
|
|
["LndRestWallet", "CoreLightningRestWallet", "LNbitsWallet"]
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
backend-wallet-class: ${{ matrix.backend-wallet-class }}
|