-
Notifications
You must be signed in to change notification settings - Fork 6
52 lines (48 loc) · 1.41 KB
/
integrationTests.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
47
48
49
50
51
name: Integration Tests
on:
schedule:
- cron: 0 2 * * 1-5
workflow_dispatch:
jobs:
test-13-Unit:
name: Run Unit Tests macOS 13.0
runs-on: macos-13
strategy:
fail-fast: false
matrix:
xcode: ["Xcode_14.1", "Xcode_14.2", "Xcode_14.3"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select ${{ matrix.xcode }}
run: sudo xcode-select --switch /Applications/${{ matrix.xcode }}.app
- name: Unit tests
run: make XC_LOG=unit tests/unit
- name: Attach Xcode logs
if: '!cancelled()'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.xcode }}-unit-logs
path: "*-unit.log"
test-13-Integration:
name: Run Integration Tests macOS 13.0 Xcode 14.3.1
runs-on: macos-13
strategy:
fail-fast: false
matrix:
platform: ["macOS", "iOSsim", "tvOSsim"]
env:
DD_API_KEY: '${{ secrets.DD_API_KEY }}'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app
- name: Run tests for ${{ matrix.platform }}
run: make XC_LOG=integration tests/integration/${{ matrix.platform }}
- name: Attach Xcode logs
if: '!cancelled()'
uses: actions/upload-artifact@v4
with:
name: Xcode_14.3.1-${{ matrix.platform }}-integration-log
path: "*-integration.log"