From d1b54b7c32da86708c733ac822c735fae0680aa7 Mon Sep 17 00:00:00 2001 From: cphiri-dev Date: Mon, 26 Feb 2024 15:12:40 +0200 Subject: [PATCH 1/5] remove module tests --- .github/workflows/ci-mwcore.yml | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci-mwcore.yml b/.github/workflows/ci-mwcore.yml index 23e658ce82..2022c1cbd0 100644 --- a/.github/workflows/ci-mwcore.yml +++ b/.github/workflows/ci-mwcore.yml @@ -43,18 +43,18 @@ jobs: run: ./gradlew :engine:spotlessCheck working-directory: android - - name: Run Engine unit tests with Gradle - run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace - working-directory: android - - - name: Upload Engine Test Report to codecov - uses: codecov/codecov-action@v3 - with: - working-directory: android - flags: engine - files: engine/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - fail_ci_if_error: true - verbose: true + # - name: Run Engine unit tests with Gradle + # run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace + # working-directory: android + + # - name: Upload Engine Test Report to codecov + # uses: codecov/codecov-action@v3 + # with: + # working-directory: android + # flags: engine + # files: engine/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml + # fail_ci_if_error: true + # verbose: true quest-tests: runs-on: macos-latest @@ -83,15 +83,15 @@ jobs: run: ./gradlew :quest:spotlessCheck working-directory: android - - name: Run Quest unit tests with Gradle - run: ./gradlew :quest:clean && ./gradlew :quest:jacocoTestReportMwcoreDebug -x :quest:testMwcoreReleaseUnitTest --stacktrace - working-directory: android - - - name: Upload Quest Test Report to codecov - uses: codecov/codecov-action@v3 - with: - working-directory: android - flags: quest - files: quest/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - fail_ci_if_error: false - verbose: true + # - name: Run Quest unit tests with Gradle + # run: ./gradlew :quest:clean && ./gradlew :quest:jacocoTestReportMwcoreDebug -x :quest:testMwcoreReleaseUnitTest --stacktrace + # working-directory: android + + # - name: Upload Quest Test Report to codecov + # uses: codecov/codecov-action@v3 + # with: + # working-directory: android + # flags: quest + # files: quest/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml + # fail_ci_if_error: false + # verbose: true From 16f7ce988db6855754e7c801da5cf7141f7f1dff Mon Sep 17 00:00:00 2001 From: cphiri-dev Date: Mon, 26 Feb 2024 15:23:14 +0200 Subject: [PATCH 2/5] update --- .github/workflows/ci-mwcore.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-mwcore.yml b/.github/workflows/ci-mwcore.yml index 2022c1cbd0..d8f14a78a7 100644 --- a/.github/workflows/ci-mwcore.yml +++ b/.github/workflows/ci-mwcore.yml @@ -43,12 +43,12 @@ jobs: run: ./gradlew :engine:spotlessCheck working-directory: android - # - name: Run Engine unit tests with Gradle - # run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace + # - name: Run Engine unit tests with Gradle + # run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace # working-directory: android - # - name: Upload Engine Test Report to codecov - # uses: codecov/codecov-action@v3 + # - name: Upload Engine Test Report to codecov + # uses: codecov/codecov-action@v3 # with: # working-directory: android # flags: engine From 3ef40e77f306fece6604f48121f0149f0ec06d24 Mon Sep 17 00:00:00 2001 From: Comfort Mwalija Date: Mon, 26 Feb 2024 15:48:28 +0200 Subject: [PATCH 3/5] Update ci-mwcore.yml --- .github/workflows/ci-mwcore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-mwcore.yml b/.github/workflows/ci-mwcore.yml index d8f14a78a7..93d62e1ce5 100644 --- a/.github/workflows/ci-mwcore.yml +++ b/.github/workflows/ci-mwcore.yml @@ -43,7 +43,7 @@ jobs: run: ./gradlew :engine:spotlessCheck working-directory: android - # - name: Run Engine unit tests with Gradle + # - name: Run Engine unit tests with Gradle # run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace # working-directory: android From 84cb13d0537b98c7d7eae099b30e9da925f7920b Mon Sep 17 00:00:00 2001 From: Comfort Mwalija Date: Tue, 27 Feb 2024 09:44:38 +0200 Subject: [PATCH 4/5] Update ci-mwcore.yml --- .github/workflows/ci-mwcore.yml | 50 +++++++++++++++++---------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci-mwcore.yml b/.github/workflows/ci-mwcore.yml index 93d62e1ce5..5847d56489 100644 --- a/.github/workflows/ci-mwcore.yml +++ b/.github/workflows/ci-mwcore.yml @@ -43,18 +43,19 @@ jobs: run: ./gradlew :engine:spotlessCheck working-directory: android - # - name: Run Engine unit tests with Gradle - # run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace - # working-directory: android - - # - name: Upload Engine Test Report to codecov - # uses: codecov/codecov-action@v3 - # with: - # working-directory: android - # flags: engine - # files: engine/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - # fail_ci_if_error: true - # verbose: true + - name: Run Engine unit tests with Gradle + run: ./gradlew :engine:clean && ./gradlew :engine:jacocoTestReport -x :engine:testReleaseUnitTest --stacktrace + working-directory: android + + - name: Upload Engine Test Report to codecov + uses: codecov/codecov-action@v3 + with: + working-directory: android + flags: engine + files: engine/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml + fail_ci_if_error: true + verbose: true + dry_run: true quest-tests: runs-on: macos-latest @@ -83,15 +84,16 @@ jobs: run: ./gradlew :quest:spotlessCheck working-directory: android - # - name: Run Quest unit tests with Gradle - # run: ./gradlew :quest:clean && ./gradlew :quest:jacocoTestReportMwcoreDebug -x :quest:testMwcoreReleaseUnitTest --stacktrace - # working-directory: android - - # - name: Upload Quest Test Report to codecov - # uses: codecov/codecov-action@v3 - # with: - # working-directory: android - # flags: quest - # files: quest/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - # fail_ci_if_error: false - # verbose: true + - name: Run Quest unit tests with Gradle + run: ./gradlew :quest:clean && ./gradlew :quest:jacocoTestReportMwcoreDebug -x :quest:testMwcoreReleaseUnitTest --stacktrace + working-directory: android + + - name: Upload Quest Test Report to codecov + uses: codecov/codecov-action@v3 + with: + working-directory: android + flags: quest + files: quest/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml + fail_ci_if_error: true + verbose: true + dry_run: true From 82ec556f3ea4e7970939e735dacbed81e5b1a649 Mon Sep 17 00:00:00 2001 From: Comfort Mwalija Date: Tue, 27 Feb 2024 10:24:31 +0200 Subject: [PATCH 5/5] Update ci-mwcore.yml --- .github/workflows/ci-mwcore.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-mwcore.yml b/.github/workflows/ci-mwcore.yml index 5847d56489..791ab48280 100644 --- a/.github/workflows/ci-mwcore.yml +++ b/.github/workflows/ci-mwcore.yml @@ -53,7 +53,7 @@ jobs: working-directory: android flags: engine files: engine/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - fail_ci_if_error: true + fail_ci_if_error: false verbose: true dry_run: true @@ -94,6 +94,6 @@ jobs: working-directory: android flags: quest files: quest/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml - fail_ci_if_error: true + fail_ci_if_error: false verbose: true dry_run: true