-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (40 loc) · 976 Bytes
/
unit-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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Unit Test
# Run unit tests on every push or pull request, to main or develop
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
# Checkout the code, and run mxcl's xcodebuild action to run the unit tests
jobs:
build:
runs-on: macos-12
strategy:
matrix:
platform:
- iOS
- macOS
xcode:
- ^14
steps:
- uses: actions/[email protected]
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "swift"
- uses: mxcl/[email protected]
with:
platform: ${{ matrix.platform }}
xcode: ${{ matrix.xcode }}
action: test
scheme: KukaiCryptoSwift
code-coverage: true
upload-logs: always
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:swift"