diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 6ca74792e..ec8eff129 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -34,17 +34,20 @@ jobs: java-version: '8' - name: Checkout qaframework uses: actions/checkout@v4 - - - name: Install Docker Compose + + - name: Install Docker Compose run: | sudo apt-get update sudo apt-get install -y docker-compose + - name: Run db and web containers run: | docker-compose -f docker/docker-compose-refqa.yml up -d + - name: Wait for OpenMRS instance to start run: | while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:8080/openmrs/login.htm)" != "200" ]]; do sleep 1; done + - name: Run qaframework on ${{ matrix.browser }} run: | echo "cucumber.publish.enabled=true" > src/test/resources/cucumber.properties