Commit 2882a254 authored by McDonnell, Marshall's avatar McDonnell, Marshall
Browse files

Removes calvera testing from CI

parent 9e83e473
Loading
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
@@ -34,27 +34,3 @@ service-build:
  tags:
    - rse-multi-builder
testing:
  stage: test
  script:
    - echo "Running tests for all tools."
    - cd `pwd`/tools/neutrons
    - TEST_FOLDERS=`find . -type f -name "*.xml" -exec grep -l "<test>" {} + | awk -F/ 'BEGIN { OFS="/"; } { $NF=""; sub(/\/$/, ""); print }' | sort -u | sed 's/^\.\///'`
    - echo testing in $TEST_FOLDERS
    - |
      for FOLDER in $TEST_FOLDERS
      do
        docker run -v `pwd`:`pwd` --workdir `pwd`/$FOLDER code.ornl.gov:4567/ndip/galaxy-tools planemo test --galaxy_root /galaxy --docker --no_conda_auto_init --test_output_junit `pwd`/junit_output_${FOLDER}.xml --galaxy_url https://calvera-test.ornl.gov --galaxy_user_key $CALVERA_TEST_API_KEY --galaxy_admin_key $CALVERA_TEST_ADMIN_KEY      
      done
  artifacts:
    when: always
    reports:
      junit: tools/neutrons/junit_output*.xml
  tags:
    - rse-multi-builder
  rules:
    - if: '$CI_COMMIT_BRANCH == "dev"'
      when: always
    - if: '$CI_COMMIT_BRANCH == "main"'
      when: manual
    - when: never