[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC qemu.qmp PATCH 13/24] GitLab CI: Add pipenv and tox tests
From: |
John Snow |
Subject: |
[RFC qemu.qmp PATCH 13/24] GitLab CI: Add pipenv and tox tests |
Date: |
Wed, 15 Dec 2021 16:06:23 -0500 |
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
- [RFC qemu.qmp PATCH 02/24] Update VERSION to 0.0.0a1, (continued)
- [RFC qemu.qmp PATCH 02/24] Update VERSION to 0.0.0a1, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 04/24] Update project description, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 05/24] Update project URLs, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 10/24] Add build and test container to gitlab CI configuration, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 06/24] Move README.rst to INDEX.rst and update, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 09/24] Remove sub-dependency pins from Pipfile, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 07/24] Move PACKAGE.rst to README.rst and update, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 08/24] Update Pipfile.lock, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 11/24] Add package build step to GitLab CI, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 12/24] GitLab CI: Add check-dco script, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 13/24] GitLab CI: Add pipenv and tox tests,
John Snow <=
- [RFC qemu.qmp PATCH 14/24] GitLab CI: Add avocado junit XML output to tests, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 15/24] GitLab CI: Publish python packages to GitLab package repo, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 17/24] Makefile: add build and publish targets, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 19/24] python: configure sphinx, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 20/24] python: adjust apidoc stubs, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 18/24] add Sphinx documentation config stub, John Snow, 2021/12/15
- [RFC qemu.qmp PATCH 23/24] docs: add doc build to GitLab CI build step, John Snow, 2021/12/15