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 <ollieparanoid@postmarketos.org>
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-11-02 16:57:21 +01:00 committed by Oliver Smith
parent d57b9e31e1
commit 3592f9a285
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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]