diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 3be100b66..f25d210d1 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -34,12 +34,7 @@ jobs: mkdir -p ~/.gradle cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties - - name: Build app + - name: Build app and run unit tests uses: gradle/gradle-command-action@v2 with: - arguments: assembleStandardRelease - - - name: Run unit tests - uses: gradle/gradle-command-action@v2 - with: - arguments: test + arguments: assembleStandardRelease testStandardReleaseUnitTest \ No newline at end of file diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 4868fc9d2..2bf98b041 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -35,15 +35,10 @@ jobs: mkdir -p ~/.gradle cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties - - name: Build app + - name: Build app and run unit tests uses: gradle/gradle-command-action@v2 with: - arguments: assembleStandardRelease - - - name: Run unit tests - uses: gradle/gradle-command-action@v2 - with: - arguments: test + arguments: assembleStandardRelease testStandardReleaseUnitTest # Sign APK and create release for tags