Skip to content

Commit

Permalink
Make mint run in background
Browse files Browse the repository at this point in the history
  • Loading branch information
sihamon committed Nov 12, 2023
1 parent b1a4c4b commit 6a21e8e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/separate_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
os: [ ubuntu-latest ]
python-version: [ "3.10.4" ]
poetry-version: [ "1.5.1" ]
db-url: [""]
db-url: ["data/mint"]
mint-branch: [main]
wallet-branch: ['tests/separate_mint_wallet' ]
steps:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
WALLET_NAME: test_wallet
MINT_HOST: localhost
MINT_PORT: 3337
MINT_DATABASE: ${{ matrix.db-url }}
MINT_DATABASE: "data/mint"
MINT_PRIVATE_KEY: "TEST_PRIVATE_KEY"
TOR: false
run: |
Expand All @@ -63,14 +63,14 @@ jobs:
WALLET_NAME: test_wallet
MINT_HOST: localhost
MINT_PORT: 3337
MINT_DATABASE: ${{ matrix.db-url }}
MINT_DATABASE: "data/mint"
MINT_PRIVATE_KEY: "TEST_PRIVATE_KEY"
TOR: false
run: |
poetry run mint
run: |
cd mint
poetry run mint &
cd ../wallet
poetry run pytest tests/wallet --cov-report xml --cov cashu
poetry run pytest tests/common --cov-report xml --cov cashu
working-directory: wallet

0 comments on commit 6a21e8e

Please sign in to comment.