From a33bb277ddfdcf6b3c82f0f6f255f95d3ffe88fb Mon Sep 17 00:00:00 2001 From: Sourabh Date: Sun, 12 Apr 2020 00:42:23 +0530 Subject: [PATCH] Add CI step for Integration tests. --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9887f6..030891a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,3 +21,11 @@ jobs: run: chmod +x gradlew - name: Build with Gradle run: ./gradlew build test + - name: Integration tests + env: + APIURL: http://localhost:8080/api + run: | + chmod +x postman_tests/run-api-tests.sh + ./gradlew run & + ./postman_tests/run-api-tests.sh + ./gradlew --stop