FIXME: For testing purposes, this patch is still using my personal
GitLab URLs, which will have to be changed before this is pushed to
production.
Signed-off-by: John Snow <jsnow@redhat.com>
---
.gitlab-ci.d/test.yml | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/.gitlab-ci.d/test.yml b/.gitlab-ci.d/test.yml
index 35fa105..19e0c37 100644
--- a/.gitlab-ci.d/test.yml
+++ b/.gitlab-ci.d/test.yml
@@ -13,3 +13,46 @@ check-dco:
- if: '$CI_PROJECT_NAMESPACE == "jsnow" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: never
- when: on_success
+
+.python_test:
+ stage: test
+ image: $CI_REGISTRY_IMAGE/python:latest
+ variables:
+ GIT_DEPTH: 1
+ needs:
+ job: python-container
+
+check-python-pipenv:
+ extends: .python_test
+ script:
+ - make check-pipenv
+
+check-python-36:
+ extends: .python_test
+ script:
+ - QEMU_TOX_EXTRA_ARGS="-e py36" make check-tox
+ allow_failure: true
+
+check-python-37:
+ extends: .python_test
+ script:
+ - QEMU_TOX_EXTRA_ARGS="-e py37" make check-tox
+ allow_failure: true
+
+check-python-38:
+ extends: .python_test
+ script:
+ - QEMU_TOX_EXTRA_ARGS="-e py38" make check-tox
+ allow_failure: true
+
+check-python-39:
+ extends: .python_test
+ script:
+ - QEMU_TOX_EXTRA_ARGS="-e py39" make check-tox
+ allow_failure: true
+
+check-python-310:
+ extends: .python_test
+ script:
+ - QEMU_TOX_EXTRA_ARGS="-e py310" make check-tox
+ allow_failure: true
--
2.31.1