Skip to content

Commit

Permalink
Attempt to fix e2e tests. Temporarily disable integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaton committed Dec 20, 2024
1 parent 53aa3c2 commit d1f6f11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build with Maven
id: build_with_maven
run: |
mvn clean verify --batch-mode -P integration-test --file pom.xml
mvn clean install -DskipTests --file pom.xml
- uses: actions/upload-artifact@v4
with:
name: build_artifact
Expand All @@ -55,11 +55,11 @@ jobs:
path: ${{ github.workspace }}/omod/target
- name: run db and web containers
run: |
docker-compose -f docker/docker-compose-refqa.yml up -d
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 End to End tests
run: mvn verify --batch-mode -P e2e-test --file pom.xml
- name: Stop db and web containers
if: always()
run: docker-compose -f "docker/docker-compose-refqa.yml" down
run: docker compose -f "docker/docker-compose-refqa.yml" down

0 comments on commit d1f6f11

Please sign in to comment.