Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
brentspell committed Apr 13, 2022
1 parent 54600d7 commit 5a2bdbf
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: test

on:
push:
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.9'

- name: install os packages
run: sudo apt install libsndfile1

- name: install python packages
run: pip install -r requirements.txt

- name: run tests
env:
PYTHONPATH: .
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
run: |
pytest --cov=hifi_gan_bwe
black .
flake8 .
mypy .
coveralls

0 comments on commit 5a2bdbf

Please sign in to comment.