From 24d5e1fc8aa5787c504294cc2280be45a6590a0a Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Wed, 19 Apr 2023 01:38:42 +0200 Subject: [PATCH] Ensure Python 3.10 & 3.11 compatability (#1815) CI: Ensure compatability with Python 3.10 & 3.11 --------- Co-authored-by: Reinier van der Leer --- .github/workflows/benchmark.yml | 2 +- .github/workflows/ci.yml | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 750366d8b..53b6e7a0a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -9,7 +9,7 @@ jobs: environment: benchmark strategy: matrix: - python-version: ['3.10'] + python-version: ['3.10', '3.11'] steps: - name: Check out repository diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f437a71c0..b37e7f004 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,18 +13,17 @@ concurrency: jobs: lint: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ['3.10'] + env: + min-python-version: '3.10' steps: - name: Check out repository uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python ${{ env.min-python-version }} uses: actions/setup-python@v2 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ env.min-python-version }} - name: Install dependencies run: | @@ -46,7 +45,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10'] + python-version: ['3.10', '3.11'] steps: - name: Check out repository