first commit #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: MacOS VoiceOver | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| start-voiceover-and-move-right: | |
| runs-on: ${{ matrix.os }} | |
| continue-on-error: true | |
| strategy: | |
| matrix: | |
| os: [macos-13, macos-14, macos-15] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - run: | | |
| # Disable splash screen | |
| defaults write com.apple.VoiceOverTraining doNotShowSplashScreen -bool true | |
| # Start VoiceOver | |
| /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOverStarter | |
| # Given VoiceOver time to start | |
| sleep 10 | |
| # See if VoiceOver process is running | |
| ps aux | egrep "[V]oiceOver" | |
| # See if AppleScript thinks VoiceOver is running | |
| /usr/bin/osascript voiceOverRunning.applescript | |
| # Attempt to control VoiceOver using AppleScript | |
| /usr/bin/osascript voiceOverMove.applescript |