Skip to content

Commit

Permalink
Run security-enabled integration tests (opensearch-project#31)
Browse files Browse the repository at this point in the history
Co-authored-by: Mital Awachat <awachatm@amazon.com>

Signed-off-by: Mital Awachat <mitalawachat@users.noreply.github.com>
  • Loading branch information
mitalawachat authored and imRishN committed Feb 3, 2022
1 parent 0ef478f commit d0cab2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d0cab2f

Please sign in to comment.