[meld] CI: Update lint + test stage to use a non-flatpak runner
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] CI: Update lint + test stage to use a non-flatpak runner
- Date: Sat, 6 Aug 2022 04:12:20 +0000 (UTC)
commit bb3ed6c8b8205c555eb1acf16d28efc99467b132
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Aug 6 14:07:35 2022 +1000
CI: Update lint + test stage to use a non-flatpak runner
.gitlab-ci.yml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82864015..91e44020 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,13 @@ nightly:
- 'flatpak'
.pythonchecks:
+ stage: check
+ image: registry.fedoraproject.org/fedora:latest
+ script:
+ - pip3 install --user -r dev-requirements.txt
+ - $PYTHON_CHECK_COMMAND
+
+.pythonflatpak:
stage: check
tags: # test in the same org.gnome.Sdk environment that is used for creating flatpaks
- flatpak
@@ -44,6 +51,14 @@ pytest:
variables:
PYTHON_CHECK_COMMAND: "pytest"
+pytest-flatpak:
+ extends: .pythonflatpak
+ variables:
+ PYTHON_CHECK_COMMAND: "pytest"
+ # Ideally this wouldn't allow failure, but currently the flatpak environment
+ # is broken. https://gitlab.gnome.org/GNOME/gnome-runtime-images/-/issues/7
+ allow_failure: true
+
.mingw-common:
stage: build
tags: # select gitlab runners with specific tag (unrelated to git repo tags)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]