Testing/click (#99)

* annotate context

* remove whitespace

* test CLI

* make format

* github action with submodule checkout

* maybe now

* vllt ja nu

* und no?

* back to normal mint running

* githuuuuub

* COME OOOON!

* SO. CLOSE.

* make format

* new test

* fix it

* make format

* receive v1 token test
This commit is contained in:
calle
2023-01-19 14:13:54 +01:00
committed by GitHub
parent aa20572150
commit 9acac156a7
8 changed files with 200 additions and 30 deletions

View File

@@ -11,7 +11,10 @@ jobs:
python-version: ["3.9"]
poetry-version: ["1.3.1"]
steps:
- uses: actions/checkout@v2
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
@@ -29,14 +32,15 @@ jobs:
LIGHTNING: False
MINT_PRIVATE_KEY: "testingkey"
MINT_SERVER_HOST: 0.0.0.0
MINT_SERVER_PORT: 3338
MINT_SERVER_PORT: 3337
run: |
nohup poetry run mint &
- name: Run tests
env:
LIGHTNING: False
WALLET_NAME: test_wallet
MINT_HOST: localhost
MINT_PORT: 3338
MINT_PORT: 3337
TOR: False
run: |
poetry run pytest tests --cov-report xml --cov cashu