Skip to content

Simplify tests

Simplify tests #37

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
swift_test:
name: Test
runs-on: macos-latest
steps:
- name: Check out DunneAudioKit
uses: actions/checkout@v4
- name: Test DunneAudioKit
run: swift test -c release
# 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]

Check failure on line 24 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: 24, Col: 25): Job 'send_notification' depends on unknown job 'build_demo'.
if: ${{ failure() && github.ref == 'refs/heads/main' }}
secrets: inherit