1 Commits

Author SHA1 Message Date
f78d547fde ci: remove AdditionalTests dependency on pytest job 2024-04-15 16:09:09 +02:00
2 changed files with 4 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.10
image: $CI_DOCKER_REGISTRY/python:3.10
#commands to run in the Docker container before starting each job.
before_script:
@@ -27,8 +27,7 @@ pytest:
tests-3.11:
stage: AdditionalTests
image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.11
needs: ["pytest"]
image: $CI_DOCKER_REGISTRY/python:3.11
script:
- pytest -v --random-order ./tests
allow_failure: true
@@ -36,5 +35,5 @@ tests-3.11:
tests-3.12:
extends: "tests-3.11"
stage: AdditionalTests
image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.12
image: $CI_DOCKER_REGISTRY/python:3.12
allow_failure: true

View File

@@ -3,5 +3,5 @@ from setuptools import setup
if __name__ == "__main__":
setup(
install_requires=["numpy", "h5py", "bec-lib"],
extras_require={"dev": ["pytest", "pytest-random-order", "pytest-redis", "coverage"]},
extras_require={"dev": ["pytest", "pytest-random-order", "coverage"]},
)