From e11cac67ac3901ecccefcb7f439893ccad5869a5 Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Silva Date: Sat, 16 Dec 2023 12:19:29 +0000 Subject: [PATCH] Upgrade ci to use ubuntu 22 04 (#1427) * Refactored get_collection_coverage tests Using pytest's parametrize mark. This makes it easier to isolate test cases in order to fix the errors that are showing up when running under Python3.8 * Add Python 3.8 to the CI matrix * Reverted tests back to non-parametrized form * Dropped Python 3.7 from main github CI workflow * replaced ubuntu 20.04 with ubuntu 22.04 in CI workflow files --------- Co-authored-by: Ricardo Garcia Silva --- .github/workflows/containers.yml | 4 ++-- .github/workflows/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index ee8fbb6..67544fe 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -18,7 +18,7 @@ env: jobs: on-success: name: Build, Test and Push Docker Image to DockerHub - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }} permissions: packages: write @@ -80,7 +80,7 @@ jobs: platforms: linux/arm64, linux/amd64 on-failure: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: ${{ github.event.workflow_run.conclusion == 'failure' }} steps: - name: Print Test Fail diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9575a7b..e491b20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ on: jobs: flake8_py3: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Setup Python uses: actions/setup-python@v1 @@ -35,7 +35,7 @@ jobs: main: needs: [flake8_py3] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: include: