mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 15:10:41 +01:00
* chore: adhere to ruff's "N" rules WARN: reinstall failing extensions! bunch of more consistent variable naming. inspired by this issue. https://github.com/lnbits/lnbits/issues/2308 * fixup! chore: adhere to ruff's "N" rules * rename to funding_source * skip jmeter --------- Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
65 lines
1.5 KiB
YAML
65 lines
1.5 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 }}
|
|
db-url: ${{ matrix.db-url }}
|
|
secrets:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
migration:
|
|
needs: [ lint ]
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10"]
|
|
uses: ./.github/workflows/migration.yml
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
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 }}
|
|
secrets:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
# jmeter:
|
|
# needs: [ lint ]
|
|
# 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 }}
|