Skip to content

Merge pull request #63 from sp-nitech/alaw #221

Merge pull request #63 from sp-nitech/alaw

Merge pull request #63 from sp-nitech/alaw #221

Workflow file for this run

name: package
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
include:
- python: 3.8
torch: 1.11.0
torchaudio: 0.11.0
- python: 3.11
torch: 2.1.2
torchaudio: 2.1.2
steps:
- name: Clone
uses: actions/checkout@v4
- name: Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq -y libsndfile1
pip3 install torch==${{ matrix.torch }}+cpu torchaudio==${{ matrix.torchaudio }}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install
run: make PYTHON_VERSION=${{ matrix.python }} dev tool
- name: Check
run: make check
- name: Test
run: make test
- name: Coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true