From 57e9d2271d48609a1a50faee8ad637994cf20d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Wed, 11 Dec 2024 09:39:25 +0100 Subject: [PATCH] test: update python to 3.10 and 3.11 inside CI (#2803) * test: update python to 3.10 and 3.11 inside CI * fixup! --- .github/actions/prepare/action.yml | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/jmeter.yml | 2 +- .github/workflows/lint.yml | 8 ++++---- .github/workflows/regtest.yml | 2 +- .github/workflows/tests.yml | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/actions/prepare/action.yml b/.github/actions/prepare/action.yml index 02a35a15a..f43d5d9a8 100644 --- a/.github/actions/prepare/action.yml +++ b/.github/actions/prepare/action.yml @@ -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" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe3c2c23a..d37f61882 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/.github/workflows/jmeter.yml b/.github/workflows/jmeter.yml index d46b483e0..afeb04335 100644 --- a/.github/workflows/jmeter.yml +++ b/.github/workflows/jmeter.yml @@ -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" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 722222113..3ab0ed748 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 }} diff --git a/.github/workflows/regtest.yml b/.github/workflows/regtest.yml index 444bb3cb9..fcc0e76ed 100644 --- a/.github/workflows/regtest.yml +++ b/.github/workflows/regtest.yml @@ -8,7 +8,7 @@ on: required: true type: string python-version: - default: "3.9" + default: "3.10" type: string os-version: default: "ubuntu-latest" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45e0bf433..51ba2e37f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: required: true type: string python-version: - default: "3.9" + default: "3.10" type: string os-version: default: "ubuntu-latest"