Skip to content

Remove version specification from CI #19

Remove version specification from CI

Remove version specification from CI #19

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
swift_test:
name: Test
uses: AudioKit/ci/.github/workflows/swift_test.yml@main
with:
scheme: Controls
platforms: iOS macOS
build_demo:
name: Build ${{ matrix.scheme }} (Xcode ${{ matrix.xcode_version }})

Check failure on line 19 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 19, Col: 5): Required property is missing: runs-on
needs: [swift_test]
strategy:
# Disabling fail-fast ensures that the job will run all configurations of the matrix, even if one fails.
fail-fast: false
matrix:
scheme:
- ControlsDemo (iOS)
- ControlsDemo (macOS)
steps:
- name: Build Demo
uses: AudioKit/ci/.github/actions/build-demo@main
with:
project: Demo/ControlsDemo.xcodeproj
scheme: ${{ matrix.scheme }}
xcode_version: ${{ matrix.xcode_version }}
# Send notification to Discord on failure.
send_notification:
name: Send Notification
uses: AudioKit/ci/.github/workflows/send_notification.yml@main
needs: [swift_test, build_demo]
if: ${{ failure() && github.ref == 'refs/heads/main' }}
secrets: inherit