From 3bc85d5c8ce4d5cb1a43786a66017d465c9206ce Mon Sep 17 00:00:00 2001 From: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:51:03 -0400 Subject: [PATCH] chore: Bulding Amplify-Package and running tests --- .github/workflows/build_amplify_swift_for_testing.yml | 2 +- .github/workflows/build_and_test_amplify.yml | 10 +++++----- .github/workflows/run_xcodebuild_test_platforms.yml | 8 ++++---- .github/workflows/unit_test.yml | 2 +- .github/workflows/upload_coverage_report.yml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_amplify_swift_for_testing.yml b/.github/workflows/build_amplify_swift_for_testing.yml index dc78d7267e..e542612008 100644 --- a/.github/workflows/build_amplify_swift_for_testing.yml +++ b/.github/workflows/build_amplify_swift_for_testing.yml @@ -59,7 +59,7 @@ jobs: cloned_source_packages_path: ~/Library/Developer/Xcode/DerivedData/Amplify derived_data_path: ${{ github.workspace }}/Build disable_package_resolution: ${{ steps.dependencies-cache.outputs.cache-hit }} - build_for_testing: true + build_for_testing: false - name: Save the build cache uses: actions/cache/save@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 diff --git a/.github/workflows/build_and_test_amplify.yml b/.github/workflows/build_and_test_amplify.yml index d04ce8d2a8..08c70fc890 100644 --- a/.github/workflows/build_and_test_amplify.yml +++ b/.github/workflows/build_and_test_amplify.yml @@ -8,25 +8,25 @@ permissions: jobs: build-amplify-swift-iOS: - name: Build for iOS + name: Build Amplify for Swift uses: ./.github/workflows/build_amplify_swift_for_testing.yml with: platform: iOS build-amplify-swift-macOS: - name: Build for macOS + name: Build Amplify for Swift uses: ./.github/workflows/build_amplify_swift_for_testing.yml with: platform: macOS build-amplify-swift-tvOS: - name: Build for tvOS + name: Build Amplify for Swift uses: ./.github/workflows/build_amplify_swift_for_testing.yml with: platform: tvOS build-amplify-swift-watchOS: - name: Build for watchOS + name: Build Amplify for Swift uses: ./.github/workflows/build_amplify_swift_for_testing.yml with: platform: watchOS @@ -156,7 +156,7 @@ jobs: delete_build_cache_on_success: ${{ github.ref_name != 'main'}} report-coverage: - name: ${{ matrix.file.scheme }} Coverage Report + name: ${{ matrix.file.scheme }} Unit Tests needs: [run-unit-tests-iOS] strategy: fail-fast: false diff --git a/.github/workflows/run_xcodebuild_test_platforms.yml b/.github/workflows/run_xcodebuild_test_platforms.yml index b0b691a6be..f0cc1c07b3 100644 --- a/.github/workflows/run_xcodebuild_test_platforms.yml +++ b/.github/workflows/run_xcodebuild_test_platforms.yml @@ -36,7 +36,7 @@ permissions: jobs: test-iOS: - name: ${{ inputs.scheme }} iOS Tests + name: iOS Tests | ${{ inputs.scheme }} runs-on: macos-13 timeout-minutes: ${{ inputs.timeout-minutes }} steps: @@ -140,7 +140,7 @@ jobs: test-macOS: - name: ${{ inputs.scheme }} macOS Tests + name: macOS Tests | ${{ inputs.scheme }} runs-on: macos-13 timeout-minutes: ${{ inputs.timeout-minutes }} steps: @@ -235,7 +235,7 @@ jobs: key: ${{ steps.restore-main-build.outputs.cache-primary-key }} test-tvOS: - name: ${{ inputs.scheme }} tvOS Tests + name: tvOS Tests | ${{ inputs.scheme }} runs-on: macos-13 timeout-minutes: ${{ inputs.timeout-minutes }} steps: @@ -330,7 +330,7 @@ jobs: key: ${{ steps.restore-main-build.outputs.cache-primary-key }} test-watchOS: - name: ${{ inputs.scheme }} watchOS Tests + name: watchOS Tests | ${{ inputs.scheme }} runs-on: macos-13 timeout-minutes: ${{ inputs.timeout-minutes }} steps: diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml index d329901675..8890dc68cd 100644 --- a/.github/workflows/unit_test.yml +++ b/.github/workflows/unit_test.yml @@ -59,7 +59,7 @@ jobs: generate_coverage_report: true report-coverage: - name: ${{ matrix.file.scheme }} Coverage Report + name: ${{ matrix.file.scheme }} Unit Tests needs: [unit-tests-with-coverage] strategy: fail-fast: false diff --git a/.github/workflows/upload_coverage_report.yml b/.github/workflows/upload_coverage_report.yml index 29a76f6720..287e9fc154 100644 --- a/.github/workflows/upload_coverage_report.yml +++ b/.github/workflows/upload_coverage_report.yml @@ -17,7 +17,7 @@ permissions: jobs: upload-coverage: - name: ${{ inputs.scheme }} Coverage Report + name: Upload Coverage | ${{ inputs.scheme }} timeout-minutes: 2 runs-on: ubuntu-latest steps: