[gi-docgen/ebassi/regression-gir] ci: Add a pytest job




commit 65a1aa076238d6b882ee07108a39f943d1907d8b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Nov 10 00:02:30 2021 +0000

    ci: Add a pytest job
    
    Now that we have an actual test suite.

 .gitlab-ci.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee3c635..dc1159c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ stages:
 #  stage: build
 #  needs: []
 #  script:
-#    - dnf install -y meson ninja-build python3-flake8 python3-mypy python3-markdown python3-jinja2 
python3-toml python3-typogrify
+#    - dnf install -y meson ninja-build pytest python3-flake8 python3-mypy python3-markdown python3-jinja2 
python3-toml python3-typogrify
 #    - meson _build .
 #    - meson test -C _build
 #
@@ -27,6 +27,13 @@ stages:
     - export PATH="$HOME/.local/bin:$PATH"
     - dnf install -y python3-pip
 
+pytest:
+  stage: check
+  needs: []
+  script:
+    - dnf install -y pytest python3-markdown python3-jinja2 python3-pygments python3-toml python3-typogrify
+    - pytest --verbose
+
 flake8:
   stage: check
   needs: []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]