diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 843b3e54e5519..9ff5ccd93a57b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,10 +30,10 @@ jobs: uses: actions/checkout@v2 - name: Run Docker run: | - docker build -t opensearch-search:test -f .ci/Dockerfile.server --build-arg "SECURE_INTEGRATION=false" . + docker build -t opensearch-search:test -f .ci/Dockerfile.server --build-arg "SECURE_INTEGRATION=true" . docker run -p 9200:9200 -p 9600:9600 -d -e "discovery.type=single-node" opensearch-search:test sleep 90 - name: Run Unit Test run: ./gradlew clean unitTest - name: Build with Gradle - run: ./gradlew build + run: ./gradlew clean build -x test