Skip to content

Integration Tests

Integration Tests #921

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_PRETTY_LOG=xcode_full.log tests/unit
- name: Attach Xcode logs
uses: actions/upload-artifact@v4
with:
name: xcode-log
path: xcode_full.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_PRETTY_LOG=xcode_full.log tests/integration/${{ matrix.platform }}
- name: Attach Xcode logs
uses: actions/upload-artifact@v4
with:
name: xcode-${{ matrix.platform }}-log
path: xcode_full.log