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



commit c61b87d5b3e73ccb037c93d16c9d1ce0d71ed77b
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..062e76a1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@ test:
     - make install
     - make distcheck
     - cd ..
+    - python2 -m pytest
     - python2 -m flake8 .
     - python3 -m flake8 .
     - mkdir public
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]