Skip to content

Commit

Permalink
print statement and fixed the path to profile directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-McCann-HG committed Apr 19, 2024
1 parent d90b8f4 commit 4b9fceb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/steps/run_qgis_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ echo >&2 ""
# docker exec --privileged qgis /bin/sh -c "cd / && ls -l"
# docker exec --privileged qgis /bin/sh -c "cd /tests_directory && ls -l -R"

chmod +x /tests_directory/$PLUGIN_NAME/test/run_tests.sh
docker exec --privileged /bin/sh chmod +x /tests_directory/$PLUGIN_NAME/test/run_tests.sh
docker exec --privileged -w /tests_directory/$PLUGIN_NAME qgis /bin/sh /tests_directory/$PLUGIN_NAME/test/run_tests.sh
7 changes: 5 additions & 2 deletions scripts/steps/setup_qgis_plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ PROFILE_DIR=/root/.local/share/QGIS/QGIS3/profiles/default
# docker exec --privileged qgis /bin/sh -c "cd / && ls -l"
# docker exec --privileged qgis /bin/sh -c "cd /tests_directory && ls -l -R"

docker exec qgis mkdir -p $PROFILE_DIR/QGIS-AIMS-Plugin
docker exec qgis cp /tests_directory/QGIS-AIMS-Plugin/test/aims_test_config.ini $PROFILE_DIR/aims/aimsConfig.ini
docker exec --privileged qgis mkdir -p $PROFILE_DIR/aims
docker exec --privileged qgis cp /tests_directory/QGIS-AIMS-Plugin/test/aims_test_config.ini $PROFILE_DIR/aims/aimsConfig.ini

docker exec --privileged qgis /bin/sh -c "cd /$PROFILE_DIR && ls -l -R"

docker exec --privileged qgis bash -f /usr/bin/qgis_setup.sh "QGIS-AIMS-Plugin"

0 comments on commit 4b9fceb

Please sign in to comment.