summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2022-07-17 20:05:44 +0200
committermathieui <mathieui@mathieui.net>2022-07-17 20:05:44 +0200
commita906dfdcc0bf91cd416f1467f856dd0811b35b6e (patch)
tree9fb8c73352d10808e08dbaba989a415a47258fa9
parentc0d5d7ab0d33608a718d0262f4d806306226c5ea (diff)
downloadpoezio-a906dfdcc0bf91cd416f1467f856dd0811b35b6e.tar.gz
poezio-a906dfdcc0bf91cd416f1467f856dd0811b35b6e.tar.bz2
poezio-a906dfdcc0bf91cd416f1467f856dd0811b35b6e.tar.xz
poezio-a906dfdcc0bf91cd416f1467f856dd0811b35b6e.zip
Improve CI jobs
-rw-r--r--.gitlab-ci.yml27
1 files changed, 25 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a908b86a..b502e1c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,7 +79,21 @@ pytest-3.9:
pytest-3.10:
stage: test
- image: python:3.10-rc
+ image: python:3.10
+ 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.11:
+ stage: test
+ image: python:3.11-rc
+ allow_failure: true
script:
- apt-get update && apt-get install -y libidn11-dev
- git clone https://lab.louiz.org/poezio/slixmpp.git
@@ -102,10 +116,19 @@ pylint-plugins:
- python3 setup.py install
- pylint -E plugins
-mypy:
+mypy-fixed:
stage: lint
image: python:3
script:
+ - pip3 install mypy==0.961 types-setuptools
+ - mypy --ignore-missing-imports ./poezio
+ - mypy --ignore-missing-imports ./plugins
+
+mypy-latest:
+ stage: lint
+ image: python:3
+ allow_failure: true
+ script:
- pip3 install mypy types-setuptools
- mypy --ignore-missing-imports ./poezio
- mypy --ignore-missing-imports ./plugins