mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 05:33:47 +01:00
43d92ddb51
* [FEAT] docker ci pipeline * add release workflow * depend on release * move tag * remove push to main * fixup release workflow * add latest tag on dockerhub * cleanup * Update .github/workflows/docker.yml Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com> * use latest versions of actions --------- Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com> Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
51 lines
1.1 KiB
YAML
51 lines
1.1 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 }}
|