diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f9139e79..5f6cd3b05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,3 +55,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} + + build_watch: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - name: Run tests on Apple Watch simulator + run: set -o pipefail && make test_watch \ No newline at end of file diff --git a/Makefile b/Makefile index 360489d32..8cc412e92 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ test_watch: bash scripts/setup_spm_tests.sh - xcodebuild -scheme FioriThemeManagerTests -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' test | xcbeautify + xcodebuild -scheme FioriThemeManagerTests -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' test test_ios: xcodebuild -scheme FioriSwiftUI-Package -destination 'platform=iOS Simulator,name=iPhone 14 Pro' clean build test | xcbeautify