Skip to content

Commit

Permalink
Try to fix android paths, update simulator action
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Apr 26, 2024
1 parent cf16b92 commit f48542c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/run-android-device-farm-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ runs:
Customer Artifacts.zip
- run: |
Expand-Archive 'Customer Artifacts.zip' -DestinationPath artifacts
Move-Item -Path ${{ github.workspace }}/artifacts/Host_Machine_Files/`$DEVICEFARM_LOG_DIR/TestResults.Android.xml -Destination ${{ github.workspace }}/TestResults.Android.xml
echo "results-path=${{ github.workspace }}/TestResults.Android.xml" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
Move-Item -Path artifacts/Host_Machine_Files/`$DEVICEFARM_LOG_DIR/TestResults.Android.xml -Destination TestResults.Android.xml
echo "results-path=TestResults.Android.xml" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
name: Fetch test artifacts
shell: pwsh
id: get-test-results
Expand Down
2 changes: 1 addition & 1 deletion .github/templates/common.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#@ actionCodeQLAnalyze = "github/codeql-action/analyze@40542d38bc4936c2ca7da883aeb050a6081b4b31"
#@ actionSetupNode = "actions/setup-node@16352bb09bc672a073e326c2cc1d3d7d2a3e577e"
#@ actionAWSConfigureCredentials = "aws-actions/configure-aws-credentials@v1-node16"
#@ actionRuniOSSimulator = "realm/ci-actions/run-ios-simulator@fc0cd5604b46cf894ada5fbda3aa0fb6e5e01230"
#@ actionRuniOSSimulator = "realm/ci-actions/run-ios-simulator@cd3efc67e2583fc5257d6a94edf29f7ccfbb9897"
#@ actionReleaseToSlack = "realm/ci-actions/release-to-slack@fa20eb972b9f018654fdb4e2c7afb52b0532f907"
#@ actionSetupXcode = "maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd"
#@ actionSetupAndroid = "android-actions/setup-android@7c5672355aaa8fde5f97a91aa9a99616d1ace6bc"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Build Tests/Tests.iOS
run: msbuild Tests/Tests.iOS -p:Configuration=Release -restore -p:RestoreConfigFile=Tests/Test.NuGet.Config -p:UseRealmNupkgsWithVersion=${{ inputs.version }} -p:Platform=iPhoneSimulator
- name: Run the tests
uses: realm/ci-actions/run-ios-simulator@fc0cd5604b46cf894ada5fbda3aa0fb6e5e01230
uses: realm/ci-actions/run-ios-simulator@cd3efc67e2583fc5257d6a94edf29f7ccfbb9897
with:
appPath: Tests/Tests.iOS/bin/iPhoneSimulator/Release/Tests.iOS.app
bundleId: io.realm.dotnettests
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Build the tests
run: dotnet build Tests/Tests.Maui -c Release -f net8.0-ios -p:RestoreConfigFile=Tests/Test.NuGet.Config -p:UseRealmNupkgsWithVersion=${{ inputs.version }}
- name: Run the tests
uses: realm/ci-actions/run-ios-simulator@fc0cd5604b46cf894ada5fbda3aa0fb6e5e01230
uses: realm/ci-actions/run-ios-simulator@cd3efc67e2583fc5257d6a94edf29f7ccfbb9897
with:
appPath: Tests/Tests.Maui/bin/Release/net8.0-ios/iossimulator-x64/Tests.Maui.app
bundleId: io.realm.mauitests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build Tests/Tests.XamarinTVOS
run: msbuild Tests/Tests.XamarinTVOS -p:Configuration=Release -restore -p:RestoreConfigFile=Tests/Test.NuGet.Config -p:UseRealmNupkgsWithVersion=${{ inputs.version }} -p:Platform=iPhoneSimulator
- name: Run the tests
uses: realm/ci-actions/run-ios-simulator@fc0cd5604b46cf894ada5fbda3aa0fb6e5e01230
uses: realm/ci-actions/run-ios-simulator@cd3efc67e2583fc5257d6a94edf29f7ccfbb9897
with:
appPath: Tests/Tests.XamarinTVOS/bin/iPhoneSimulator/Release/Tests.XamarinTVOS.app
bundleId: io.realm.Tests-XamarinTVOS
Expand Down

0 comments on commit f48542c

Please sign in to comment.