Skip to content

Commit

Permalink
chore: Bulding Amplify-Package and running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed Nov 2, 2023
1 parent a7f9122 commit 3bc85d5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_amplify_swift_for_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test_amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run_xcodebuild_test_platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_coverage_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3bc85d5

Please sign in to comment.