diff --git a/.forgejo/workflows/pull_request.yml b/.forgejo/workflows/pull_request.yml index 42dc8ba..37526ee 100644 --- a/.forgejo/workflows/pull_request.yml +++ b/.forgejo/workflows/pull_request.yml @@ -33,26 +33,37 @@ jobs: with: arguments: testDebugUnitTest - name: Publish JUnit Results - uses: dorny/test-reporter@v1 + uses: actions/upload-artifact@v4 if: always() with: name: Unit Test Results path: "*/build/test-results/*/*.xml" - reporter: java-junit - fail-on-error: true - ui_tests: - runs-on: ubuntu-latest - name: Run UI Tests - needs: - - validate - steps: - - uses: actions/checkout@v2 - - name: set up JDK - uses: https://git.wbrawner.com/actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: '17' - - name: Build with Gradle - uses: https://git.wbrawner.com/gradle/gradle-build-action@v2 - with: - arguments: assembleDebug assembleDebugAndroidTest + if-no-files-found: error +# TODO: Uncomment the following once I get UI tests written +# ui_tests: +# runs-on: ubuntu-latest +# name: Run UI Tests +# needs: +# - validate +# steps: +# - uses: actions/checkout@v2 +# - name: set up JDK +# uses: https://git.wbrawner.com/actions/setup-java@v3 +# with: +# distribution: 'zulu' +# java-version: '17' +# - name: Build with Gradle +# uses: https://git.wbrawner.com/gradle/gradle-build-action@v2 +# with: +# arguments: assembleDebug assembleDebugAndroidTest +# - name: Grant execute permission for flank_auth.sh +# run: chmod +x flank_auth.sh +# - name: Add auth for flank +# env: +# GCLOUD_KEY: ${{ secrets.GCLOUD_KEY }} +# run: | +# ./flank_auth.sh +# - name: Run UI tests +# uses: https://git.wbrawner.com/gradle/gradle-build-action@v2 +# with: +# arguments: runFlank