Skip to content

Commit

Permalink
chore: updating job names
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed Aug 30, 2023
1 parent a160d28 commit cb92887
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 24 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/build_amplify_swift_for_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
cancel-in-progress: ${{ github.ref_name != 'main'}}

jobs:
build-amplify-swift-iOS:
build-for-testing-amplify-swift-iOS:
runs-on: macos-13
timeout-minutes: 20
steps:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
path: ~/Library/Developer/Xcode/DerivedData/Amplify
key: ${{ steps.cache-packages.outputs.cache-primary-key }}

build-amplify-swift-macOS:
build-for-testing-amplify-swift-macOS:
runs-on: macos-13
timeout-minutes: 20
steps:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
path: ~/Library/Developer/Xcode/DerivedData/Amplify
key: ${{ steps.cache-packages.outputs.cache-primary-key }}

build-amplify-swift-tvOS:
build-for-testing-amplify-swift-tvOS:
runs-on: macos-13
timeout-minutes: 20
steps:
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
path: ~/Library/Developer/Xcode/DerivedData/Amplify
key: ${{ steps.cache-packages.outputs.cache-primary-key }}

build-amplify-swift-watchOS:
build-for-testing-amplify-swift-watchOS:
runs-on: macos-13
timeout-minutes: 20
steps:
Expand Down Expand Up @@ -166,18 +166,3 @@ jobs:
with:
path: ~/Library/Developer/Xcode/DerivedData/Amplify
key: ${{ steps.cache-packages.outputs.cache-primary-key }}

confirm-pass:
runs-on: ubuntu-latest
name: Confirm Passing Build Steps
if: ${{ !cancelled() }}
needs: [
build-amplify-swift-iOS,
build-amplify-swift-macOS,
build-amplify-swift-tvOS,
build-amplify-swift-watchOS
]
env:
EXIT_CODE: ${{ contains(needs.*.result, 'failure') && 1 || 0 }}
steps:
- run: exit $EXIT_CODE
2 changes: 1 addition & 1 deletion .github/workflows/run_xcodebuild_test_platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
cloned_source_packages_path: ~/Library/Developer/Xcode/DerivedData/Amplify
derived_data_path: ${{ github.workspace }}/Build
disable_package_resolution: ${{ steps.cache-packages.outputs.cache-hit }}
test_without_building: ${{ steps.restore-amplify-build.outputs.cache-hit || steps.restore-build.outputs.cache-hit }}
test_without_building: ${{ steps.restore-build.outputs.cache-hit }}
other_flags: ${{ inputs.other_flags }}
- name: Retry iOS Test Suite if needed
if: inputs.retry_on_error == true && steps.run-tests.outcome=='failure'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
type: string

workflow_dispatch:
# push:
# branches-ignore:
# - main
# - release
push:
branches-ignore:
- main
- release

permissions:
contents: read
Expand Down

0 comments on commit cb92887

Please sign in to comment.