Skip to content

Make it easier to check for appLanguage, preferredLanguage, and region + grand rename #184

Make it easier to check for appLanguage, preferredLanguage, and region + grand rename

Make it easier to check for appLanguage, preferredLanguage, and region + grand rename #184

Workflow file for this run

name: Test and Lint
on:
push:
branches: [main]
pull_request:
branches:
- "*"
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/checkout@v4
- name: Lint
uses: norio-nomura/[email protected]
with:
args: --strict
test:
name: Test Xcode ${{ matrix.xcode }} - ${{ matrix.xcodebuildCommand }}
runs-on: "macos-latest"
strategy:
fail-fast: true
matrix:
xcode:
- ^15
xcodebuildCommand:
- "-sdk iphonesimulator -destination 'generic/platform=iOS Simulator'"
- "-sdk macosx -destination 'generic/platform=macOS'"
- "-sdk macosx -destination 'generic/platform=macOS,variant=Mac Catalyst'"
- "-sdk appletvsimulator -destination 'generic/platform=tvOS Simulator'"
- "-sdk xcsimulator -destination 'generic/platform=visionOS Simulator'"
- "-sdk watchsimulator -destination 'generic/platform=watchOS Simulator'"
steps:
- name: Repository checkout
uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- name: Build and Test
run: xcodebuild test -scheme TelemetryClient-Package ${{ matrix.xcodebuildCommand }}