mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2026-04-05 10:50:07 +02:00
✅ Run unit tests on push
This commit is contained in:
22
.github/workflows/tests.yml
vendored
Normal file
22
.github/workflows/tests.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Unit Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, dev/26.x]
|
||||
pull_request:
|
||||
branches: [dev/26.x]
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
xcodebuild test \
|
||||
-project "PHP Monitor.xcodeproj" \
|
||||
-scheme "Unit Tests" \
|
||||
-destination "platform=macOS" \
|
||||
-parallel-testing-enabled YES \
|
||||
-quiet
|
||||
Reference in New Issue
Block a user