From dbe4fa419b1501ec87513b0fd6e1367845d49611 Mon Sep 17 00:00:00 2001 From: Natalie Schultz <90212258+nataliejschultz@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:43:21 -0600 Subject: [PATCH] Still not succeeding Test still not running properly. Trying: yml: Just run on nominatim push. Hoping it will work now. sh: adding some more echoes to see if I can tell where the problem is arising. I've looked through the old commits and I can't see what would've gone wrong. --- .github/workflows/nominatim-docker-test.yml | 8 ++++---- emission/integrationTests/start_integration_tests.sh | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nominatim-docker-test.yml b/.github/workflows/nominatim-docker-test.yml index 30d2bbfe7..dcaa1c211 100644 --- a/.github/workflows/nominatim-docker-test.yml +++ b/.github/workflows/nominatim-docker-test.yml @@ -3,12 +3,12 @@ name: nominatim-docker-test # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - pull_request: - branches: - - master + # pull_request: + # branches: + # - master push: branches: - - 'nataliejschultz/nominatim' + - nominatim # schedule: # # Run every Sunday at 4:05 am diff --git a/emission/integrationTests/start_integration_tests.sh b/emission/integrationTests/start_integration_tests.sh index 7ca717c39..8f6480eff 100644 --- a/emission/integrationTests/start_integration_tests.sh +++ b/emission/integrationTests/start_integration_tests.sh @@ -2,10 +2,6 @@ # Using an automated install cd /src/e-mission-server -echo "++++++++++" -echo "$PWD" - - #set database URL using environment variable echo ${DB_HOST} if [ -z ${DB_HOST} ] ; then @@ -27,10 +23,15 @@ source setup/setup_tests.sh echo "Running tests..." source setup/activate_tests.sh +echo "Adding permissions" chmod +x runIntegrationTests.sh +echo "Permissions added" + tail -f /dev/null # echo "About to sleep! Zzzz..." # sleep 240 # echo "Done sleeping! Running integration tests:" -dockerize -wait http://rhodeisland-nominatim:8080 -timeout 20s +echo "Dockerize running!" +dockerize -wait http://rhodeisland-nominatim:8080 -timeout 240s +echo "Dockerize done! Running integration tests:" ./runIntegrationTests.sh \ No newline at end of file