This commit is contained in:
callebtc
2022-10-05 20:01:26 +02:00
parent 115b818c99
commit 7f1f3e3574
2 changed files with 4 additions and 2 deletions

View File

@@ -21,14 +21,14 @@ jobs:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: |
poetry install
poetry install --with dev
- name: Run mint
env:
LIGHTNING: False
MINT_SERVER_HOST: 0.0.0.0
MINT_SERVER_PORT: 3338
run: |
poetry run mint
nohup poetry run mint &
- name: Run tests
env:
LIGHTNING: False

View File

@@ -1,5 +1,6 @@
import time
from re import S
import pytest
from cashu.core.helpers import async_unwrap
from cashu.core.migrations import migrate_databases
@@ -25,6 +26,7 @@ def assert_amt(proofs, expected):
assert [p["amount"] for p in proofs] == expected
@pytest.mark.asyncio
async def run_test():
wallet1 = Wallet1(SERVER_ENDPOINT, "data/wallet1", "wallet1")
await migrate_databases(wallet1.db, migrations)