Skip to content

chore(main): release 2.0.2 #10

chore(main): release 2.0.2

chore(main): release 2.0.2 #10

Workflow file for this run

# This workflow will run unit tests
name: Run Unit Tests
on:
pull_request:
workflow_dispatch:
jobs:
unit_tests:
strategy:
matrix:
python-version: [3.9, "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
pip install -r requirements/test_requirements.txt
- name: Test Mozilla TTS
run: |
pip install pytest pytest-timeout
pytest tests/test_mtts.py --junitxml=tests/tts-test-results.xml
- name: Upload TTS test results
uses: actions/upload-artifact@v4
with:
name: pytest-results-${{ matrix.python-version }}
path: tests/tts-test-results.xml
if: ${{ always() }}