forked from Mirror/pmbootstrap
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:
parent
d57b9e31e1
commit
3592f9a285
1 changed files with 10 additions and 0 deletions
|
@ -46,6 +46,11 @@ pytest:
|
||||||
- "log_testsuite.txt"
|
- "log_testsuite.txt"
|
||||||
- "log.txt"
|
- "log.txt"
|
||||||
|
|
||||||
|
# Ensure that tests pass on Python 3.10
|
||||||
|
pytest-python3.10:
|
||||||
|
extends: pytest
|
||||||
|
image: alpine:3.17
|
||||||
|
|
||||||
ruff:
|
ruff:
|
||||||
stage: lint
|
stage: lint
|
||||||
script:
|
script:
|
||||||
|
@ -125,6 +130,11 @@ install amd64:
|
||||||
# ARM64 on AMD64
|
# ARM64 on AMD64
|
||||||
- .ci/integration_tests/build_images postmarketos-trailblazer console
|
- .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:
|
install aarch64:
|
||||||
extends: .integration
|
extends: .integration
|
||||||
tags: [arm64]
|
tags: [arm64]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue