Skip to content

Fix tests in CI

Fix tests in CI #216

Workflow file for this run

name: CI
on:
push:
branches:
- 'master'
pull_request:
types: [opened, reopened]
jobs:
test:
runs-on: macOS-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,name=iPhone 15,OS=17.5']
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
- name: Setup environment
uses: ruby/[email protected]
with:
ruby-version: '3.0.7'
bundler-cache: true
- name: Test StylableSwiftUI
shell: bash
run: |
set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace ${workspace} -scheme ${scheme} -destination "${destination}"
pod lib lint --allow-warnings
env:
destination: ${{ matrix.destination }}
scheme: "StylableSwiftUI"
workspace: "StylableSwiftUI.xcworkspace"
ONLY_ACTIVE_ARCH: "NO"
CODE_SIGN_IDENTITY: ""
CODE_SIGNING_REQUIRED: "NO"