-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow testing script added in b28e037.
- Loading branch information
Showing
4 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# Ensure working directory is planemo project. | ||
SCRIPTS_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
PROJECT_DIRECTORY="${SCRIPTS_DIRECTORY}/.." | ||
|
||
TEMP_DIRECTORY=`mktemp -d 2>/dev/null || mktemp -d -t 'planemowftest'` | ||
cp "$SCRIPTS_DIRECTORY/run_galaxy_workflow_tests.sh" "$TEMP_DIRECTORY" | ||
cp "$PROJECT_DIRECTORY/tests/data/"wf4* "$TEMP_DIRECTORY" | ||
cp "$PROJECT_DIRECTORY/tests/data/1.bed" "$TEMP_DIRECTORY" | ||
|
||
cd $PROJECT_DIRECTORY | ||
|
||
# Build Planemo wheel. | ||
make dist | ||
|
||
# Test against wheel. | ||
export PLANEMO_TARGET="$PROJECT_DIRECTORY/dist/planemo*whl" | ||
|
||
cd $TEMP_DIRECTORY | ||
ls | ||
bash run_galaxy_workflow_tests.sh "wf4-distro-tools.gxwf.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters