Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use configuration for streaming TTS play args #238

Draft
wants to merge 9 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,34 @@ on:
branches:
- dev
paths-ignore:
- 'ovos_plugin_manager/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'README.md'
- 'scripts/**'
- "ovos_plugin_manager/version.py"
- "test/**"
- "examples/**"
- ".github/**"
- ".gitignore"
- "LICENSE"
- "CHANGELOG.md"
- "MANIFEST.in"
- "README.md"
- "scripts/**"
workflow_dispatch:

jobs:
build_tests:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Build Tools
run: |
python -m pip install build wheel
python -m pip install build wheel setuptools
- name: Install System Dependencies
run: |
sudo apt-get update
Expand All @@ -47,4 +47,4 @@ jobs:
python setup.py bdist_wheel
- name: Install package
run: |
pip install .
pip install .
14 changes: 7 additions & 7 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
license_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Build Tools
Expand All @@ -34,11 +34,11 @@ jobs:
id: license_check_report
uses: pilosus/[email protected]
with:
requirements: 'requirements-all.txt'
fail: 'Copyleft,Other,Error'
requirements: "requirements-all.txt"
fail: "Copyleft,Other,Error"
fails-only: true
exclude: '^(tqdm).*'
exclude-license: '^(Mozilla).*$'
exclude: "^(tqdm).*"
exclude-license: "^(Mozilla).*$"
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
run: echo "${{ steps.license_check_report.outputs.report }}"
8 changes: 4 additions & 4 deletions .github/workflows/notify_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ name: Notify Matrix Chat
# only trigger on pull request closed events
on:
pull_request:
types: [ closed ]
types: [closed]

jobs:
merge_job:
# this job will only run if the PR has been merged
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Send message to Matrix bots channel
id: matrix-chat-message
uses: fadenb/[email protected]
with:
homeserver: 'matrix.org'
homeserver: "matrix.org"
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org'
channel: "!WjxEKjjINpyBRPFgxl:krbel.duckdns.org"
message: |
new ovos-plugin-manager PR merged! https://github.com/OpenVoiceOS/OVOS-plugin-manager/pull/${{ github.event.number }}
8 changes: 4 additions & 4 deletions .github/workflows/pipaudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Build Tools
Expand All @@ -33,4 +33,4 @@ jobs:
with:
# Ignore setuptools vulnerability we can't do much about
ignore-vulns: |
GHSA-r9hx-vwmv-q579
GHSA-r9hx-vwmv-q579
22 changes: 11 additions & 11 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
branches:
- dev
paths-ignore:
- 'ovos_plugin_manager/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'README.md'
- 'scripts/**'
- "ovos_plugin_manager/version.py"
- "test/**"
- "examples/**"
- ".github/**"
- ".gitignore"
- "LICENSE"
- "CHANGELOG.md"
- "MANIFEST.in"
- "README.md"
- "scripts/**"
workflow_dispatch:

jobs:
Expand All @@ -35,7 +35,7 @@ jobs:
needs: update_version
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,48 +4,48 @@ on:
branches:
- dev
paths-ignore:
- 'ovos_plugin_manager/version.py'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'README.md'
- 'scripts/**'
- "ovos_plugin_manager/version.py"
- "examples/**"
- ".github/**"
- ".gitignore"
- "LICENSE"
- "CHANGELOG.md"
- "MANIFEST.in"
- "README.md"
- "scripts/**"
push:
branches:
- master
paths-ignore:
- 'ovos_plugin_manager/version.py'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'README.md'
- 'scripts/**'
- "ovos_plugin_manager/version.py"
- "examples/**"
- ".github/**"
- ".gitignore"
- "LICENSE"
- "CHANGELOG.md"
- "MANIFEST.in"
- "README.md"
- "scripts/**"
workflow_dispatch:

jobs:
unit_tests:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.8, 3.9, "3.10" ]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev
python -m pip install build wheel
python -m pip install build wheel setuptools
- name: Install test dependencies
run: |
pip install -r requirements/test.txt
Expand All @@ -61,4 +61,4 @@ jobs:
- name: Upload coverage
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
Loading
Loading