From 3315498134ce399e23f6c9d7291c630fcd929ec2 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 25 Jun 2021 21:58:13 +0200 Subject: tests: run tests on 3.7 through 3.10 instead of 3.7 and "latest" --- .gitlab-ci.yml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4637246..b9338127 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,10 +51,35 @@ pytest-3.7: - python3 setup.py install - py.test -v test/ +pytest-3.8: + stage: test + image: python:3.8 + script: + - apt-get update && apt-get install -y libidn11-dev + - git clone https://lab.louiz.org/poezio/slixmpp.git + - pip3 install pytest pyasn1-modules cffi --upgrade + - cd slixmpp + - python3 setup.py install + - cd .. + - python3 setup.py install + - py.test -v test/ -pytest-latest: +pytest-3.9: stage: test - image: python:3 + image: python:3.9 + script: + - apt-get update && apt-get install -y libidn11-dev + - git clone https://lab.louiz.org/poezio/slixmpp.git + - pip3 install pytest pyasn1-modules cffi --upgrade + - cd slixmpp + - python3 setup.py install + - cd .. + - python3 setup.py install + - py.test -v test/ + +pytest-3.10: + stage: test + image: python:3.10-rc script: - apt-get update && apt-get install -y libidn11-dev - git clone https://lab.louiz.org/poezio/slixmpp.git -- cgit v1.2.3