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:
description: "Python Version"
required: true
default: "3.9"
default: "3.10"
poetry-version:
description: "Poetry Version"
default: "1.7.0"

View File

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

View File

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

View File

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

View File

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

View File

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