mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 12:32:34 +02:00
.gitignore coverage.xml + do not delete mock_data.zip (#779)
* add coverage.xml to gitignore * fix deleting mock_data.zip Co-authored-by: dni <dni.khr@gmail.com>
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -31,6 +31,7 @@ venv
|
|||||||
|
|
||||||
__bundle__
|
__bundle__
|
||||||
|
|
||||||
|
coverage.xml
|
||||||
node_modules
|
node_modules
|
||||||
lnbits/static/bundle.*
|
lnbits/static/bundle.*
|
||||||
docker
|
docker
|
||||||
|
3
Makefile
3
Makefile
@@ -36,7 +36,6 @@ requirements.txt: Pipfile.lock
|
|||||||
cat Pipfile.lock | jq -r '.default | map_values(.version) | to_entries | map("\(.key)\(.value)") | join("\n")' > requirements.txt
|
cat Pipfile.lock | jq -r '.default | map_values(.version) | to_entries | map("\(.key)\(.value)") | join("\n")' > requirements.txt
|
||||||
|
|
||||||
test:
|
test:
|
||||||
rm -rf ./tests/data
|
|
||||||
mkdir -p ./tests/data
|
mkdir -p ./tests/data
|
||||||
LNBITS_BACKEND_WALLET_CLASS="FakeWallet" \
|
LNBITS_BACKEND_WALLET_CLASS="FakeWallet" \
|
||||||
FAKE_WALLET_SECRET="ToTheMoon1" \
|
FAKE_WALLET_SECRET="ToTheMoon1" \
|
||||||
@@ -45,14 +44,12 @@ test:
|
|||||||
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml tests
|
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml tests
|
||||||
|
|
||||||
test-real-wallet:
|
test-real-wallet:
|
||||||
rm -rf ./tests/data
|
|
||||||
mkdir -p ./tests/data
|
mkdir -p ./tests/data
|
||||||
LNBITS_DATA_FOLDER="./tests/data" \
|
LNBITS_DATA_FOLDER="./tests/data" \
|
||||||
PYTHONUNBUFFERED=1 \
|
PYTHONUNBUFFERED=1 \
|
||||||
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml tests
|
./venv/bin/pytest --durations=1 -s --cov=lnbits --cov-report=xml tests
|
||||||
|
|
||||||
test-pipenv:
|
test-pipenv:
|
||||||
rm -rf ./tests/data
|
|
||||||
mkdir -p ./tests/data
|
mkdir -p ./tests/data
|
||||||
LNBITS_BACKEND_WALLET_CLASS="FakeWallet" \
|
LNBITS_BACKEND_WALLET_CLASS="FakeWallet" \
|
||||||
FAKE_WALLET_SECRET="ToTheMoon1" \
|
FAKE_WALLET_SECRET="ToTheMoon1" \
|
||||||
|
Reference in New Issue
Block a user