Skip to content

Commit

Permalink
tweak tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed May 1, 2024
1 parent 856768f commit 434d191
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_minimum_supported_swift_platforms.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build with minimum Xcode version | Amplify Swift
on:
workflow_dispatch:
pull_request:
branches:
- main
# pull_request:
# branches:
# - main
push:
branches:
- main
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
branches:
- main
- v1
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
- v1
# pull_request:
# # The branches below must be a subset of the branches above
# branches:
# - main
# - v1
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integ_test_push_notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
node-version: 16.x

- name: Attempt to use the dependencies cache
if: false
id: dependencies-cache
timeout-minutes: 4
continue-on-error: true
Expand All @@ -80,6 +81,7 @@ jobs:
- name: Attempt to restore the build cache
id: build-cache
if: false
timeout-minutes: 4
continue-on-error: true
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/run_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
inputs:
os-runner:
type: string
default: 'macos-13'
default: 'macos-latest'
scheme:
description: 'The scheme to run the tests'
required: true
Expand All @@ -18,7 +18,7 @@ on:
type: string
xcode_version:
description: 'The version of Xcode used to run these tests'
default: 'minimum'
default: 'latest'
type: string
destination:
default: ''
Expand Down Expand Up @@ -71,6 +71,7 @@ jobs:

- name: Attempt to use the dependencies cache
id: dependencies-cache
if: false
timeout-minutes: 4
continue-on-error: true
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
Expand All @@ -82,6 +83,7 @@ jobs:
- name: Attempt to restore the build cache
id: build-cache
if: false
timeout-minutes: 4
continue-on-error: true
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ on:
required: true
default: true
type: boolean
push:
branches-ignore:
- main
- release
# push:
# branches-ignore:
# - main
# - release

permissions:
contents: read
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
if: ${{ !cancelled() }}
needs: [
targets-with-coverage,
targets-without-coverage
# targets-without-coverage
]
env:
EXIT_CODE: ${{ contains(needs.*.result, 'failure') && 1 || 0 }}
Expand Down

0 comments on commit 434d191

Please sign in to comment.