diff --git a/.github/workflows/capture-sdk.check.yml b/.github/workflows/capture-sdk.check.yml index 5f31b51b80..2b35fb8182 100644 --- a/.github/workflows/capture-sdk.check.yml +++ b/.github/workflows/capture-sdk.check.yml @@ -49,15 +49,18 @@ jobs: name: capture-sdk-unit-test-results path: capture-sdk/sdk/build/reports/tests - - name: create unit test coverage report - run: ./gradlew capture-sdk:sdk:jacocoTestDebugUnitTestReport - - - name: archive unit test coverage report - if: always() - uses: actions/upload-artifact@v3 - with: - name: capture-sdk-unit-test-coverage - path: capture-sdk/sdk/build/jacoco/jacocoHtml +# should be investigated later, right now does not work with AGP 8 +# read this article for some help: https://about.codecov.io/blog/code-coverage-for-android-development-using-kotlin-jacoco-github-actions-and-codecov/ +# +# - name: create unit test coverage report +# run: ./gradlew capture-sdk:sdk:jacocoTestDebugUnitTestReport +# +# - name: archive unit test coverage report +# if: always() +# uses: actions/upload-artifact@v3 +# with: +# name: capture-sdk-unit-test-coverage +# path: capture-sdk/sdk/build/jacoco/jacocoHtml default-network-test: runs-on: ubuntu-latest @@ -82,15 +85,18 @@ jobs: name: capture-sdk-default-network-unit-test-results path: capture-sdk/default-network/build/reports/tests - - name: create unit test coverage report - run: ./gradlew capture-sdk:default-network:jacocoTestDebugUnitTestReport - - - name: archive unit test coverage report - if: always() - uses: actions/upload-artifact@v3 - with: - name: capture-sdk-default-network-unit-test-coverage - path: capture-sdk/default-network/build/jacoco/jacocoHtml +# should be investigated later, right now does not work with AGP 8 +# read this article for some help: https://about.codecov.io/blog/code-coverage-for-android-development-using-kotlin-jacoco-github-actions-and-codecov/ +# +# - name: create unit test coverage report +# run: ./gradlew capture-sdk:default-network:jacocoTestDebugUnitTestReport +# +# - name: archive unit test coverage report +# if: always() +# uses: actions/upload-artifact@v3 +# with: +# name: capture-sdk-default-network-unit-test-coverage +# path: capture-sdk/default-network/build/jacoco/jacocoHtml default-network-instrumented-test: runs-on: macos-latest diff --git a/.github/workflows/health-api-library.check.yml b/.github/workflows/health-api-library.check.yml index b7f2072bcf..0d632c488f 100644 --- a/.github/workflows/health-api-library.check.yml +++ b/.github/workflows/health-api-library.check.yml @@ -45,15 +45,18 @@ jobs: name: health-api-library-unit-test-results path: health-api-library/library/build/reports/tests - - name: create unit test coverage report - run: ./gradlew health-api-library:library:jacocoTestDebugUnitTestReport - - - name: archive unit test coverage report - if: always() - uses: actions/upload-artifact@v3 - with: - name: health-api-library-unit-test-coverage - path: health-api-library/library/build/jacoco/jacocoHtml +# should be investigated later, right now does not work with AGP 8 +# read this article for some help: https://about.codecov.io/blog/code-coverage-for-android-development-using-kotlin-jacoco-github-actions-and-codecov/ +# +# - name: create unit test coverage report +# run: ./gradlew health-api-library:library:jacocoTestDebugUnitTestReport +# +# - name: archive unit test coverage report +# if: always() +# uses: actions/upload-artifact@v3 +# with: +# name: health-api-library-unit-test-coverage +# path: health-api-library/library/build/jacoco/jacocoHtml instrumented-test: runs-on: macos-latest