-
-
Notifications
You must be signed in to change notification settings - Fork 434
31 lines (28 loc) · 901 Bytes
/
Test.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
name: Test
on: [push, pull_request]
jobs:
macOS:
runs-on: macos-14
env:
DEVELOPER_DIR: /Applications/Xcode_16.1_beta.app/Contents/Developer
steps:
- name: Show environments
run: |
xcodebuild -version
swift --version
- uses: actions/checkout@v4
- name: Checkout submodules
run: |
git submodule update --init
- name: Unit Test for EditorCore
run: |
swift test --package-path Packages/EditorCore --quiet
- name: Unit Test for MacUI
run: |
swift test --package-path Packages/MacUI --quiet
- name: Unit Test for SyntaxMap
run: |
swift test --package-path Packages/SyntaxMap --quiet
- name: Unit Test for CotEditor
run: |
xcodebuild test -project CotEditor.xcodeproj -scheme CotEditor CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -skipPackagePluginValidation