From bbbc29885901ecae589ca9244b9996ad0a63975b Mon Sep 17 00:00:00 2001 From: Angelo Dell'Aera Date: Wed, 19 Jan 2022 13:32:11 +0100 Subject: [PATCH 1/3] [Github Actions] Build workflow (Linux - Python 3.10) --- .github/workflows/build-linux.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index b9314420..1cff41f2 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-18.04, ubuntu-20.04] - python-version: ['3.6', '3.7', '3.8', '3.9'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] exclude: - os: ubuntu-20.04 python-version: '3.6' @@ -17,6 +17,8 @@ jobs: python-version: '3.7' - os: ubuntu-20.04 python-version: '3.9' + - os: ubuntu-20.04 + python-version: '3.10' steps: - name: STEP 1. Checkout repository From 1bb21435e16b85718cbc4107eb8fa34e0250d5b1 Mon Sep 17 00:00:00 2001 From: Angelo Dell'Aera Date: Thu, 20 Jan 2022 14:51:41 +0100 Subject: [PATCH 2/3] Do not test wheel on Python 3.10 (pytest broken) --- .github/workflows/build-linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 1cff41f2..2a4e40ce 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -47,6 +47,7 @@ jobs: - name: STEP 5. Test wheel run: | pytest -v + if: ${{ matrix.python-version != '3.10' }} - name: STEP 6. Create wheel zip uses: vimtor/action-zip@v1 From 7903c18387391006d8caebf0313992055c14d274 Mon Sep 17 00:00:00 2001 From: Angelo Dell'Aera Date: Thu, 20 Jan 2022 16:41:39 +0100 Subject: [PATCH 3/3] [Github Actions] Build workflow (Linux - Python 3.10) --- .github/workflows/build-linux-debug.yml | 5 ++++- .github/workflows/release-linux-debug.yml | 3 +++ .github/workflows/release-linux.yml | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux-debug.yml b/.github/workflows/build-linux-debug.yml index 908d4ca3..21a29211 100644 --- a/.github/workflows/build-linux-debug.yml +++ b/.github/workflows/build-linux-debug.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-18.04, ubuntu-20.04] - python-version: ['3.6', '3.7', '3.8', '3.9'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] exclude: - os: ubuntu-20.04 python-version: '3.6' @@ -17,6 +17,8 @@ jobs: python-version: '3.7' - os: ubuntu-20.04 python-version: '3.9' + - os: ubuntu-20.04 + python-version: '3.10' steps: - name: STEP 1. Checkout repository @@ -46,6 +48,7 @@ jobs: - name: STEP 5. Test wheel run: | pytest -v + if: ${{ matrix.python-version != '3.10' }} - name: STEP 6. Create wheel zip uses: vimtor/action-zip@v1 diff --git a/.github/workflows/release-linux-debug.yml b/.github/workflows/release-linux-debug.yml index 802f3814..ca8f7fe9 100644 --- a/.github/workflows/release-linux-debug.yml +++ b/.github/workflows/release-linux-debug.yml @@ -21,6 +21,8 @@ jobs: python-version: '3.7' - os: ubuntu-20.04 python-version: '3.9' + - os: ubuntu-20.04 + python-version: '3.10' steps: - name: STEP 1. Checkout repository @@ -50,6 +52,7 @@ jobs: - name: STEP 5. Test wheel run: | pytest -v + if: ${{ matrix.python-version != '3.10' }} - name: STEP 6. Create wheel zip uses: vimtor/action-zip@v1 diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml index cad856b6..9af1cf82 100644 --- a/.github/workflows/release-linux.yml +++ b/.github/workflows/release-linux.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-18.04, ubuntu-20.04] - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10] exclude: - os: ubuntu-20.04 python-version: '3.6' @@ -21,6 +21,8 @@ jobs: python-version: '3.7' - os: ubuntu-20.04 python-version: '3.9' + - os: ubuntu-20.04 + python-version: '3.10' steps: - name: STEP 1. Checkout repository @@ -49,6 +51,7 @@ jobs: - name: STEP 5. Test wheel run: | pytest -v + if: ${{ matrix.python-version != '3.10' }} - name: STEP 6. Create wheel zip uses: vimtor/action-zip@v1