From 6beab5ec81d75506699b2ef326fd866d9606ed5a Mon Sep 17 00:00:00 2001 From: Tal Regev Date: Mon, 2 Aug 2021 02:33:26 +0300 Subject: [PATCH] Add Junit test reporter for android. --- .github/workflows/android.yml | 7 +++++++ .github/workflows/test-report.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 641fd99587..f4e0b2d074 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -98,6 +98,13 @@ jobs: name: android_${{ matrix.type }}_${{ github.event.pull_request.head.sha }} path: deploy/android_${{ matrix.type }}/*.7z + - name: Upload JUnit Tests Results + uses: actions/upload-artifact@v2 + if: matrix.type == 'manager' # run this step even if previous step failed + with: + name: Android_tests_results + path: android/BOINC/app/build/test-results/testDebugUnitTest/TEST-*.xml + - name: Upload coverage report uses: codecov/codecov-action@v1 if: ${{ success() && matrix.type == 'manager' }} diff --git a/.github/workflows/test-report.yml b/.github/workflows/test-report.yml index 7511cb7e40..b846b56d4e 100644 --- a/.github/workflows/test-report.yml +++ b/.github/workflows/test-report.yml @@ -1,7 +1,7 @@ name: 'Test Report' on: workflow_run: - workflows: [Linux, Android] # runs after These workflow + workflows: [Linux, Android] # runs after these workflow types: - completed