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 <ricardo@kartoza.com>
This commit is contained in:
committed by
GitHub
parent
2de1b895e4
commit
e11cac67ac
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user