test: update python to 3.10 and 3.11 inside CI (#2803)

* test: update python to 3.10 and 3.11 inside CI

* fixup!
This commit is contained in:
dni ⚡ 2024-12-11 09:39:25 +01:00 committed by GitHub
parent c18816bf1b
commit 57e9d2271d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 14 deletions

View file

@ -4,7 +4,7 @@ inputs:
python-version: python-version:
description: "Python Version" description: "Python Version"
required: true required: true
default: "3.9" default: "3.10"
poetry-version: poetry-version:
description: "Poetry Version" description: "Poetry Version"
default: "1.7.0" default: "1.7.0"

View file

@ -16,7 +16,7 @@ jobs:
needs: [ lint ] needs: [ lint ]
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"] db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"]
uses: ./.github/workflows/tests.yml uses: ./.github/workflows/tests.yml
with: with:
@ -30,7 +30,7 @@ jobs:
needs: [ lint ] needs: [ lint ]
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"] db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"]
uses: ./.github/workflows/tests.yml uses: ./.github/workflows/tests.yml
with: with:
@ -44,7 +44,7 @@ jobs:
needs: [ lint ] needs: [ lint ]
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"] db-url: ["", "postgres://lnbits:lnbits@0.0.0.0:5432/lnbits"]
uses: ./.github/workflows/tests.yml uses: ./.github/workflows/tests.yml
with: with:
@ -58,7 +58,7 @@ jobs:
needs: [ lint ] needs: [ lint ]
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
uses: ./.github/workflows/migration.yml uses: ./.github/workflows/migration.yml
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
@ -74,7 +74,7 @@ jobs:
uses: ./.github/workflows/regtest.yml uses: ./.github/workflows/regtest.yml
strategy: strategy:
matrix: matrix:
python-version: ["3.9"] python-version: ["3.10"]
backend-wallet-class: ["LndRestWallet", "LndWallet", "CoreLightningWallet", "CoreLightningRestWallet", "LNbitsWallet", "EclairWallet"] backend-wallet-class: ["LndRestWallet", "LndWallet", "CoreLightningWallet", "CoreLightningRestWallet", "LNbitsWallet", "EclairWallet"]
with: with:
custom-pytest: "poetry run pytest tests/regtest" custom-pytest: "poetry run pytest tests/regtest"
@ -87,7 +87,7 @@ jobs:
needs: [ lint ] needs: [ lint ]
strategy: strategy:
matrix: matrix:
python-version: ["3.9"] python-version: ["3.10"]
poetry-version: ["1.5.1"] poetry-version: ["1.5.1"]
uses: ./.github/workflows/jmeter.yml uses: ./.github/workflows/jmeter.yml
with: with:

View file

@ -6,7 +6,7 @@ on:
python-version: python-version:
description: "Python Version" description: "Python Version"
required: true required: true
default: "3.9" default: "3.10"
type: string type: string
poetry-version: poetry-version:
description: "Poetry Version" description: "Poetry Version"

View file

@ -8,7 +8,7 @@ jobs:
uses: ./.github/workflows/make.yml uses: ./.github/workflows/make.yml
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
with: with:
make: checkblack make: checkblack
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
@ -17,7 +17,7 @@ jobs:
uses: ./.github/workflows/make.yml uses: ./.github/workflows/make.yml
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
with: with:
make: checkruff make: checkruff
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
@ -26,7 +26,7 @@ jobs:
uses: ./.github/workflows/make.yml uses: ./.github/workflows/make.yml
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
with: with:
make: mypy make: mypy
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
@ -35,7 +35,7 @@ jobs:
uses: ./.github/workflows/make.yml uses: ./.github/workflows/make.yml
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10"] python-version: ["3.10", "3.11"]
with: with:
make: pyright make: pyright
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}

View file

@ -8,7 +8,7 @@ on:
required: true required: true
type: string type: string
python-version: python-version:
default: "3.9" default: "3.10"
type: string type: string
os-version: os-version:
default: "ubuntu-latest" default: "ubuntu-latest"

View file

@ -8,7 +8,7 @@ on:
required: true required: true
type: string type: string
python-version: python-version:
default: "3.9" default: "3.10"
type: string type: string
os-version: os-version:
default: "ubuntu-latest" default: "ubuntu-latest"