From af6ebf6fc909d6037d5860df08030099027ed94c Mon Sep 17 00:00:00 2001 From: Jithu Murugan <j.murugan@fz-juelich.de> Date: Fri, 21 Feb 2025 09:30:26 +0100 Subject: [PATCH] - Corrected the optional-dependencies name in .gitlab-ci.yml file which leads to the test failures. --- .gitlab-ci.yml | 2 +- pyproject.toml | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c164c87..2043782 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ testing-pytest-coverage: script: - chmod +x dedal/utils/bootstrap.sh - ./dedal/utils/bootstrap.sh - - pip install e .[tests] + - pip install -e .[test] - coverage run -m pytest -s --tb=short tests && coverage html -i -d htmlcov artifacts: when: always diff --git a/pyproject.toml b/pyproject.toml index 6aff098..c8d849e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,10 +23,5 @@ dependencies = [ "dedal" = ["dedal/logger/logging.conf"] [project.optional-dependencies] -test = [ - "pytest", - "pytest-mock", - "pytest-ordering", - "coverage" -] +test = ["pytest", "pytest-mock", "pytest-ordering", "coverage"] dev = ["mypy", "pylint", "black", "flake8"] \ No newline at end of file -- GitLab