mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 02:21:32 +08:00
cwl testing: use the proposed 1.2.1 CWL conformance tests.
This commit is contained in:
@@ -17,13 +17,18 @@ for version in $VERSIONS; do
|
||||
conformance_filepath=conformance_tests.yaml
|
||||
tests_dir=tests
|
||||
fi
|
||||
wget "https://github.com/common-workflow-language/${repo_name}/archive/main.zip"
|
||||
unzip main.zip
|
||||
if [ "$version" = '1.2' ]; then
|
||||
branch=1.2.1_proposed
|
||||
else
|
||||
branch=main
|
||||
fi
|
||||
wget "https://github.com/common-workflow-language/${repo_name}/archive/${branch}.zip"
|
||||
unzip ${branch}.zip
|
||||
rm -rf "${DEST_DIR}/v${version}"
|
||||
mkdir -p "${DEST_DIR}/v${version}"
|
||||
cp "${repo_name}-main/${conformance_filepath}" "${DEST_DIR}/v${version}/conformance_tests.yaml"
|
||||
cp -r "${repo_name}-main/${tests_dir}" "${DEST_DIR}/v${version}"/
|
||||
rm -rf "${repo_name}-main"
|
||||
rm -rf main.zip
|
||||
cp "${repo_name}-${branch}/${conformance_filepath}" "${DEST_DIR}/v${version}/conformance_tests.yaml"
|
||||
cp -r "${repo_name}-${branch}/${tests_dir}" "${DEST_DIR}/v${version}"/
|
||||
rm -rf "${repo_name}-${branch}"
|
||||
rm -rf ${branch}.zip
|
||||
python3 scripts/cwl_conformance_to_test_cases.py "${DEST_DIR}" "v${version}"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user