-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (34 loc) · 871 Bytes
/
tests.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
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-tests:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Apple Xcode Select
uses: BoundfoxStudios/action-xcode-select@v1
with:
version: latest
beta: false
- name: Test
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: Tests/HierarchyResponderTests.xcodeproj
scheme: HierarchyResponderTests
destination: platform=iOS Simulator,name=iPhone 15
action: test
derived-data-path: DerivedData
enable-code-coverage: true
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
directory: Tests