From be36a55183a39c86e2379c0a8546b2f9a75ac395 Mon Sep 17 00:00:00 2001 From: Bruce - Thien Nguyen Date: Thu, 14 Sep 2023 17:25:43 +0700 Subject: [PATCH] [#503] Update ci workflow --- .github/workflows/run_detekt_and_unit_tests.yml | 16 ++++++++-------- codemagic.yaml | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/run_detekt_and_unit_tests.yml b/.github/workflows/run_detekt_and_unit_tests.yml index 29be22547..36b7637a9 100644 --- a/.github/workflows/run_detekt_and_unit_tests.yml +++ b/.github/workflows/run_detekt_and_unit_tests.yml @@ -31,24 +31,24 @@ jobs: # template-xml - name: Run Detekt on template-xml - working-directory: ./template-xml + working-directory: ./deprecated/template-xml run: ./gradlew detekt - name: Archive Detekt reports on template-xml uses: actions/upload-artifact@v2 with: name: DetektReportsTemplateXML - path: template-xml/build/reports/detekt/ + path: deprecated/template-xml/build/reports/detekt/ - name: Run unit tests with Kover on template-xml - working-directory: ./template-xml + working-directory: ./deprecated/template-xml run: ./gradlew koverHtmlReport - name: Archive code coverage reports on template-xml uses: actions/upload-artifact@v2 with: name: CodeCoverageReportsTemplateXML - path: template-xml/app/build/reports/kover/ + path: deprecated/template-xml/app/build/reports/kover/ # template-compose @@ -75,24 +75,24 @@ jobs: # sample-xml - name: Run Detekt on sample-xml - working-directory: ./sample-xml + working-directory: ./deprecated/sample-xml run: ./gradlew detekt - name: Archive Detekt reports on sample-xml uses: actions/upload-artifact@v2 with: name: DetektReportsTemplateXML - path: sample-xml/build/reports/detekt/ + path: deprecated/sample-xml/build/reports/detekt/ - name: Run unit tests with Kover on sample-xml - working-directory: ./sample-xml + working-directory: ./deprecated/sample-xml run: ./gradlew koverHtmlReport - name: Archive code coverage reports on sample-xml uses: actions/upload-artifact@v2 with: name: CodeCoverageReportsTemplateXML - path: sample-xml/app/build/reports/kover/ + path: deprecated/sample-xml/app/build/reports/kover/ # sample-compose diff --git a/codemagic.yaml b/codemagic.yaml index 84330d0a7..b1b7dfd72 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -16,7 +16,7 @@ definitions: script: ./gradlew detekt - &detekt_on_template_xml name: Run detekt on template-xml - working_directory: ./template-xml + working_directory: ./deprecated/template-xml script: ./gradlew detekt - &unit_test_on_template_compose name: Run unit tests on template-compose @@ -24,11 +24,11 @@ definitions: script: ./gradlew koverHtmlReport - &unit_test_on_template_xml name: Run unit tests on template-xml - working_directory: ./template-xml + working_directory: ./deprecated/template-xml script: ./gradlew koverHtmlReport artifacts: - &artifacts_template_compose template-compose/app/build/reports/kover/ - - &artifacts_template_xml template-xml/app/build/reports/kover/ + - &artifacts_template_xml deprecated/template-xml/app/build/reports/kover/ - &artifacts_staging_apk template-compose/app/build/outputs/apk/staging/debug/app-staging-debug.apk - &artifacts_production_apk template-compose/app/build/outputs/apk/production/debug/app-production-debug.apk workflows: