ci: let ubuntu version be configurable

This commit is contained in:
Erik Sundell
2021-10-17 03:31:37 +02:00
parent 8635af59de
commit 922bfad0f5
3 changed files with 22 additions and 12 deletions

View File

@@ -60,22 +60,22 @@ jobs:
env:
matrix_include_pre_filter: |
- name: "Int. tests: Ubuntu 18.04, Py 3.6"
runs_on: ubuntu-18.04
ubuntu_version: 18.04
python_version: 3.6
extra_flags: ""
- name: "Int. tests: Ubuntu 20.04, Py 3.9"
runs_on: ubuntu-20.04
ubuntu_version: 20.04
python_version: 3.9
extra_flags: ""
- name: "Int. tests: Ubuntu 20.04, Py 3.9, --upgrade"
runs_on: ubuntu-20.04
ubuntu_version: 20.04
python_version: 3.9
extra_flags: --upgrade
dont_run_on_ref: refs/heads/master
integration-tests:
needs: decide-on-test-jobs-to-run
runs-on: ${{ matrix.runs_on }}
runs-on: ubuntu-${{ matrix.ubuntu_version }}
name: ${{ matrix.name }}
strategy:
@@ -95,7 +95,7 @@ jobs:
- name: Build systemd image
run: |
.github/integration-test.py build-image
.github/integration-test.py build-image --build-arg ubuntu_version=${{ matrix.ubuntu_version }}
- name: Run bootstrap checks
run: |