From ab05a68f60843abb386739e193ee90d258f51da8 Mon Sep 17 00:00:00 2001 From: Andreas Bauer Date: Tue, 5 Mar 2024 11:56:48 -0800 Subject: [PATCH] Add test job --- .../workflows/{build.yml => build_and_test.yml} | 14 ++++++++++++++ 1 file changed, 14 insertions(+) rename .github/workflows/{build.yml => build_and_test.yml} (71%) diff --git a/.github/workflows/build.yml b/.github/workflows/build_and_test.yml similarity index 71% rename from .github/workflows/build.yml rename to .github/workflows/build_and_test.yml index de4bdf2fe..c64647d3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build_and_test.yml @@ -37,3 +37,17 @@ jobs: cxxInterop: ${{ matrix.cxxInterop }} sdk: '["iphoneos", "iphonesimulator", "xros", "xrsimulator"]' runsonlabels: '["macOS", "self-hosted"]' + ios: + name: Build and Test iOS + uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 + with: + path: 'Tests/UITests' + scheme: TestApp + resultBundle: TestApp-iOS.xcresult + artifactname: TestApp-iOS.xcresult + uploadcoveragereport: + name: Upload Coverage Report + needs: [ios] + uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 + with: + coveragereports: TestApp-iOS.xcresult