From 3592f9a285a080f5583c82cfee30e553ad2fd882 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Sat, 2 Nov 2024 16:57:21 +0100 Subject: [PATCH] CI: run pytest and install test against Python 3.10 (MR 2471) Use Alpine 3.17 to test pmbootstrap with older versions of Python Fixes: #2477 Suggested-by: Oliver Smith Signed-off-by: Caleb Connolly --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1df21d6..4dcaaa28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,6 +46,11 @@ pytest: - "log_testsuite.txt" - "log.txt" +# Ensure that tests pass on Python 3.10 +pytest-python3.10: + extends: pytest + image: alpine:3.17 + ruff: stage: lint script: @@ -125,6 +130,11 @@ install amd64: # ARM64 on AMD64 - .ci/integration_tests/build_images postmarketos-trailblazer console +# Test that building images works on Python 3.10 +install amd64 python3.10: + extends: install amd64 + image: alpine:3.17 + install aarch64: extends: .integration tags: [arm64]