[meld] CI: Update lint + test stage to use a non-flatpak runner



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]