[jhbuild/ci-tests: 5/5] CI: run the Python tests



commit 88628b52a5e6eb4b482f288523e13a21d9d975e9
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sat Sep 21 15:01:32 2019 +0200

    CI: run the Python tests

 .gitlab-ci.yml        | 1 +
 .gitlab-ci/Dockerfile | 2 ++
 2 files changed, 3 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3380f855..042a1c5a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,7 @@ test:
     - cd ..
     - python2 -m flake8 .
     - python3 -m flake8 .
+    - python2 -m pytest
     - mkdir public
     - cd public
     - yelp-build html ../doc/C/index.docbook
diff --git a/.gitlab-ci/Dockerfile b/.gitlab-ci/Dockerfile
index 37a806ee..a4dfc220 100644
--- a/.gitlab-ci/Dockerfile
+++ b/.gitlab-ci/Dockerfile
@@ -15,8 +15,10 @@ RUN apt update && apt install -y \
     pkg-config \
     python \
     python-flake8 \
+    python-pytest \
     python3 \
     python3-flake8 \
+    python3-pytest \
     sudo \
     trang \
     yelp-tools


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