Skip to content

Commit

Permalink
tests: try to run audio tests on gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbi committed Dec 3, 2024
1 parent 67447ff commit fcb1e1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install audio dependencies
run: sudo apt-get install sox flite
- name: Install and upgrade packaging tools
run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install tox tox-gh-actions
- name: Run tests
run: tox -e coverage
env:
CAPTCHA_FLITE_PATH: '/usr/bin/flite'
CAPTCHA_SOX_PATH: '/usr/bin/sox'

gettext:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ commands=
[testenv:coverage]
changedir = testproject

passenv =
CAPTCHA_FLITE_PATH
CAPTCHA_SOX_PATH
deps =
coverage

Expand Down

0 comments on commit fcb1e1d

Please sign in to comment.