From 3b4b9cd061343245a2a2dfea4a16dbf2cbe96d21 Mon Sep 17 00:00:00 2001 From: Oliver Smith <ollieparanoid@postmarketos.org> Date: Sun, 3 Nov 2024 13:06:56 +0100 Subject: [PATCH] gitlab-ci: install py3-tomli for py 3.10 tests (MR 2471) pmbootstrap requires "tomli" if running with python < 3.11, so install it. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4dcaaa28e..7e9e34cea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,8 @@ before_script: &global_before_scripts # Force IPv4 for gitlab.postmarketos.org until it supports IPv6 too, OSUOSL is # working on it (infra#195) - "echo '140.211.167.182 gitlab.postmarketos.org' >> /etc/hosts" + # python 3.10 tests: need to have tomli installed, see pmb/helpers/toml.py + - "if grep -q VERSION_ID=3\\.17 /etc/os-release; then apk add py3-tomli; fi" stages: - lint -- GitLab