-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 3.36 KB
/
swift.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Build
run: xcodebuild build-for-testing -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -verbose | xcpretty
- name: General Tests
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan 'Splatalyzer-Package' -verbose | xcpretty
- name: Tests for English
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'English-US' -verbose | xcpretty
- name: Tests for Chinese (CN/Simplified)
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Chinese-CN-Simplified' -verbose | xcpretty
- name: Tests for Chinese (TW/Traditional)
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Chinese-TW-Traditional' -verbose | xcpretty
- name: Tests for Dutch
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Dutch' -verbose | xcpretty
- name: Tests for French (Canada)
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'French-CA' -verbose | xcpretty
- name: Tests for French (France)
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'French-FR' -verbose | xcpretty
- name: Tests for German
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'German' -verbose | xcpretty
- name: Tests for Italian
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Italian' -verbose | xcpretty
- name: Tests for Japanese
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Japanese' -verbose | xcpretty
- name: Tests for Russian
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Russian' -verbose | xcpretty
- name: Tests for Spanish (Spain)
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Spanish-ES' -verbose | xcpretty
- name: Tests for Spanish (Latin America)
run: xcodebuild test-without-building -scheme Splatalyzer-Package -destination 'platform=macOS,arch=arm64' -testPlan Localization -only-test-configuration 'Spanish-LA' -verbose | xcpretty