Skip to content

Commit ee70c88

Browse files
authored
Merge pull request #3961 from brandonpage/archive-test-results
Fix CI build issues and archive test results
2 parents 3513b29 + b3b80e1 commit ee70c88

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/pr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
static-analysis:
9-
runs-on: macos-26
9+
runs-on: macos-latest
1010
env:
1111
BUNDLE_GEMFILE: ${{ github.workspace }}/.github/DangerFiles/Gemfile
1212
steps:
@@ -55,7 +55,7 @@ jobs:
5555
run: bundle exec danger --dangerfile=.github/DangerFiles/StaticAnalysis.rb --danger_id=StaticAnalysis
5656

5757
test-orchestrator:
58-
runs-on: macos-26
58+
runs-on: macos-latest
5959
env:
6060
BUNDLE_GEMFILE: ${{ github.workspace }}/.github/DangerFiles/Gemfile
6161
outputs:
@@ -126,7 +126,7 @@ jobs:
126126
- ios: ^26
127127
xcode: ^26
128128
- ios: ^18
129-
xcode: ^16
129+
xcode: ^16
130130
uses: ./.github/workflows/reusable-workflow.yaml
131131
with:
132132
lib: ${{ matrix.app }}

.github/workflows/reusable-workflow.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
required: false
1414
type: string
1515
macos:
16-
default: macos-26
16+
default: macos-latest
1717
required: false
1818
type: string
1919
is_pr:
@@ -63,6 +63,12 @@ jobs:
6363
show-passed-tests: false
6464
# xcresulttool currently fails for iOS 26
6565
if: ${{ ! inputs.build_only && (success() || failure()) && inputs.ios != '^26' }}
66+
- name: Upload artifact
67+
uses: actions/upload-artifact@v4
68+
with:
69+
name: test-results-${{ inputs.lib }}-ios${{ inputs.ios }}
70+
path: test.xcresult
71+
if: ${{ ! inputs.build_only && (success() || failure()) }}
6672
- uses: codecov/codecov-action@v4
6773
with:
6874
flags: ${{ inputs.lib }}

0 commit comments

Comments
 (0)