-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
4 additions
and
55 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,11 @@ | ||
#!/bin/bash | ||
# Run docker tests on your local machine | ||
|
||
PLUGIN_NAME="LDMP" | ||
cat .env | ||
|
||
DOCKER_RUN_COMMAND="docker exec -it trendsearth_qgis_1 sh -c" | ||
source .env | ||
|
||
docker-compose down -v | ||
docker pull "qgis/qgis":${QGIS_VERSION_TAG} | ||
docker-compose up -d | ||
docker-compose ps | ||
|
||
sleep 10 | ||
|
||
# Setup | ||
$DOCKER_RUN_COMMAND "qgis_setup.sh $PLUGIN_NAME" | ||
$DOCKER_RUN_COMMAND "cd /tests_directory && git submodule update --init --recursive" | ||
$DOCKER_RUN_COMMAND "cd /tests_directory && paver setup && paver package --tests" | ||
|
||
# Run the tests | ||
$DOCKER_RUN_COMMAND "DISPLAY=:99 QT_X11_NO_MITSHM=1 GSHOSTNAME=boundless-test qgis_testrunner.sh LDMP.test.testplugin" | ||
docker-compose exec -T qgis-testing-environment qgis_testrunner.sh LDMP.test.testplugin |
This file was deleted.
Oops, something went wrong.