Skip to content

Commit

Permalink
Test eSpeak on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Oct 30, 2024
1 parent 9aae045 commit e724a11
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/python_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,26 @@ jobs:
- name: Run tests
run: pytest -s -vvv --timeout=600

- name: macOS brew install eSpeak
if: runner.os == 'macOS'
run: |
brew install espeak
espeak --version
espeak "eSpeak version $(espeak --version) installed."
- name: macOS test eSpeak
if: runner.os == 'macOS'
shell: python
run: |
import pyttsx3
engine = pyttsx3.init('espeak')
engine.say('Hello eSpeak!')
engine.runAndWait()
# - name: macOS brew install eSpeak
# if: runner.os == 'macOS'
# run: |
# brew install espeak
# espeak --version # speak text-to-speech: 1.48.03 04.Mar.14
# espeak "eSpeak version $(espeak --version) installed."

# - name: macOS test eSpeak
# if: runner.os == 'macOS'
# shell: python
# run: |
# import pyttsx3
# engine = pyttsx3.init('espeak')
# engine.say('Hello eSpeak!')
# engine.runAndWait()

- name: macOS brew uninstall eSpeak and install eSpeak-NG
if: runner.os == 'macOS'
run: |
brew uninstall espeak
# brew uninstall espeak
brew install espeak-ng
espeak-ng --version
espeak "eSpeak-NG version $(espeak-ng --version) installed."
Expand Down

0 comments on commit e724a11

Please sign in to comment.