tests: run tests on 3.7 through 3.10

instead of 3.7 and "latest"
This commit is contained in:
mathieui 2021-06-25 21:58:13 +02:00
parent 975bad7621
commit 3315498134

View file

@ -51,10 +51,35 @@ pytest-3.7:
- python3 setup.py install - python3 setup.py install
- py.test -v test/ - py.test -v test/
pytest-3.8:
pytest-latest:
stage: test stage: test
image: python:3 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-3.9:
stage: test
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: script:
- apt-get update && apt-get install -y libidn11-dev - apt-get update && apt-get install -y libidn11-dev
- git clone https://lab.louiz.org/poezio/slixmpp.git - git clone https://lab.louiz.org/poezio/slixmpp.git