mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-18 21:32:38 +01:00
a1ea04acf8
* chore: add tests * chore: add reference to jmter job * chore: add jmeter job * chore: touch tests * chorE: disable other workflows * chore: do not set `LNBITS_ADMIN_UI: true` * chore: extra log file * chore: rollback * chore: testing stuff * feat: top-up wallet * chore: clean-up usr * chore: clean-up user query param * chore: remove hardcoded usr * chore: clean-up * chore: clean-up * chore: different improvements * chore: clean-up * chore: remove hardcoded values * refactor: extract `init-server` fragment * chore: move fragment * feat: use test frgment * chore: clean-up hardcoded values * chore: clean-up * fix: get lnurl working * chore: re-arange elements * chore: re-arange elements * fix: add `lnurlp, withdraw` extensions * chore: rename file * fix: login with user id * refactor: extract init account * fix: tips wallet * fix: assertion * refactor: use fragments; group loops * chore: re-enable the other CI jobs * fix: separate wallet for receive * feat: check receive wallet balance * feat: increase wait time
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
name: LNbits CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
pull_request:
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
uses: ./.github/workflows/lint.yml
|
|
|
|
tests:
|
|
needs: [ lint ]
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10"]
|
|
db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"]
|
|
uses: ./.github/workflows/tests.yml
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
migrations:
|
|
needs: [ lint ]
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9"]
|
|
uses: ./.github/workflows/tests.yml
|
|
with:
|
|
make: test-migration
|
|
db-name: migration
|
|
|
|
openapi:
|
|
needs: [ lint ]
|
|
uses: ./.github/workflows/make.yml
|
|
with:
|
|
make: openapi
|
|
|
|
regtest:
|
|
needs: [ lint ]
|
|
uses: ./.github/workflows/regtest.yml
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9"]
|
|
backend-wallet-class: ["LndRestWallet", "LndWallet", "CoreLightningWallet", "CoreLightningRestWallet", "LNbitsWallet", "EclairWallet"]
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
backend-wallet-class: ${{ matrix.backend-wallet-class }}
|
|
|
|
jmeter:
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9"]
|
|
poetry-version: ["1.5.1"]
|
|
uses: ./.github/workflows/jmeter.yml
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
poetry-version: ${{ matrix.poetry-version }}
|