Skip to content

test: fix/simplify --all cli test to work with new languages codes … #16

test: fix/simplify --all cli test to work with new languages codes …

test: fix/simplify --all cli test to work with new languages codes … #16

Workflow file for this run

name: Upload Code Coverage
# For the Codecov to do a code coverage diff in a PR,
# it must have a code coverage of the PR base branch
# (i.e. typically main). This Action runs tests on main
# so the code coverage results can be uploaded and
# a diff to appear in PRs.
on:
push:
branches:
- main
paths:
- 'gtts/**.py'
jobs:
test:
name: Unit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install
run: |
python -m pip install --upgrade pip
pip install .[tests]
- name: Unit Tests
run: pytest -v --cov=gtts --cov-report=xml
env:
TEST_LANGS: en
- name: Upload Coverage Report
uses: codecov/[email protected]