ci: add upgrade tests from: main, latest, and 0.2.0

This commit is contained in:
Erik Sundell
2023-04-15 10:28:38 +02:00
parent 17bbd6116b
commit 8e94bbe468
2 changed files with 41 additions and 13 deletions

View File

@@ -68,9 +68,15 @@ jobs:
- name: "Int. tests: Ubuntu 22.04 Py 3.10"
distro_image: "ubuntu:22.04"
extra_flags: ""
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade"
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade-from=main"
distro_image: "ubuntu:22.04"
extra_flags: --upgrade
extra_flags: --upgrade-from=main
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade-from=latest"
distro_image: "ubuntu:22.04"
extra_flags: --upgrade-from=latest
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade-from=0.2.0"
distro_image: "ubuntu:22.04"
extra_flags: --upgrade-from=0.2.0
integration-tests:
needs: decide-on-test-jobs-to-run
@@ -106,7 +112,7 @@ jobs:
# integration-tests/test_bootstrap.py will build and start containers
# based on this environment variable. This is similar to how
# .github/integration-test.py build-image can take a --build-arg
# setting the base image.
# setting the base image via a Dockerfile ARG.
BASE_IMAGE: ${{ matrix.distro_image }}
# We build a docker image from wherein we will work