From 8db15b90d8bb8785a32a2d6c075e11d480964f8f Mon Sep 17 00:00:00 2001 From: schroeder5 <s.schroeder@fz-juelich.de> Date: Mon, 15 Jun 2020 17:09:02 +0200 Subject: [PATCH] now doing pytest inside pre-commit --> do not commit, if there is something wrong --- .gitlab-ci.yml | 26 +++++++++++++------------- CI/do_pytest.sh | 0 2 files changed, 13 insertions(+), 13 deletions(-) mode change 100644 => 100755 CI/do_pytest.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13bfee6..af07993 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ stages: - - test +# - test - deploy - pages @@ -9,18 +9,18 @@ cache: - public/docs/ #### Test #### -test: - stage: test - tags: - - leap - - zam347 - - base - script: - - zypper --non-interactive install python3-pip - - pip install --upgrade pip - - pip install --no-cache-dir -r requirements.txt - - chmod +x ./CI/do_pytest.sh - - ./CI/do_pytest.sh +#test: +# stage: test +# tags: +# - leap +# - zam347 +# - base +# script: +# - zypper --non-interactive install python3-pip +# - pip install --upgrade pip +# - pip install --no-cache-dir -r requirements.txt +# - chmod +x ./CI/do_pytest.sh +# - ./CI/do_pytest.sh #### Documentation #### docs: diff --git a/CI/do_pytest.sh b/CI/do_pytest.sh old mode 100644 new mode 100755 -- GitLab