mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-13 20:12:22 +00:00
Run tests automatically.
This commit is contained in:
parent
20ee9272b4
commit
2adf8a3709
2
.github/workflows/build_conda_ubuntu_cpu.yml
vendored
2
.github/workflows/build_conda_ubuntu_cpu.yml
vendored
@ -20,8 +20,6 @@ name: build_conda_ubuntu_cpu
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nightly-test
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
|
@ -20,8 +20,6 @@ name: build_conda_ubuntu_cuda
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nightly-test
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
|
@ -17,10 +17,6 @@
|
||||
name: Nightly tests macos cpu
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nightly-test
|
||||
|
||||
schedule:
|
||||
# minute (0-59)
|
||||
# hour (0-23)
|
||||
|
@ -73,13 +73,10 @@ jobs:
|
||||
python3 -c "import sys; print(sys.version)"
|
||||
which python3
|
||||
|
||||
- name: Install kaldifeat
|
||||
- name: Install kaldifeat and run tests
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
conda install -y -c kaldifeat -c pytorch cpuonly pytorch=${{ matrix.torch }} kaldifeat
|
||||
conda install -y -c kaldifeat -c pytorch cpuonly pytorch=${{ matrix.torch }} kaldifeat python=${{ matrix.python-version }}
|
||||
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
cd kaldifeat/python/tests
|
||||
make test
|
||||
|
@ -73,13 +73,10 @@ jobs:
|
||||
python3 -c "import sys; print(sys.version)"
|
||||
which python3
|
||||
|
||||
- name: Install kaldifeat
|
||||
- name: Install kaldifeat and run tests
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
conda install -y -c kaldifeat -c pytorch -c conda-forge pytorch=${{ matrix.torch }} cudatoolkit=${{ matrix.cuda }} kaldifeat
|
||||
conda install -y -c kaldifeat -c pytorch -c conda-forge pytorch=${{ matrix.torch }} cudatoolkit=${{ matrix.cuda }} kaldifeat python=${{ matrix.python-version }}
|
||||
|
||||
- name: Run tests
|
||||
shell: bash
|
||||
run: |
|
||||
cd kaldifeat/python/tests
|
||||
make test
|
||||
|
@ -17,10 +17,6 @@
|
||||
name: Nightly tests ubuntu pip cpu
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nightly-test
|
||||
|
||||
schedule:
|
||||
# minute (0-59)
|
||||
# hour (0-23)
|
||||
|
@ -17,10 +17,6 @@
|
||||
name: Nightly tests ubuntu pip cuda
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nightly-test
|
||||
|
||||
schedule:
|
||||
# minute (0-59)
|
||||
# hour (0-23)
|
||||
|
@ -17,10 +17,6 @@
|
||||
name: Nightly tests windows pip cpu
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- nightly-test
|
||||
|
||||
schedule:
|
||||
# minute (0-59)
|
||||
# hour (0-23)
|
||||
|
2
.github/workflows/run-tests-macos-cpu.yml
vendored
2
.github/workflows/run-tests-macos-cpu.yml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
run: |
|
||||
python3 -m pip install -qq --upgrade pip
|
||||
python3 -m pip install -qq wheel twine typing_extensions soundfile numpy
|
||||
python3 -m pip install -qq torch==${{ matrix.torch }}+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||
python3 -m pip install -qq torch==${{ matrix.torch }} -f https://download.pytorch.org/whl/torch_stable.html
|
||||
|
||||
python3 -c "import torch; print('torch version:', torch.__version__)"
|
||||
|
||||
|
2
.github/workflows/run-tests-ubuntu-cpu.yml
vendored
2
.github/workflows/run-tests-ubuntu-cpu.yml
vendored
@ -20,7 +20,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- nightly-test
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
2
.github/workflows/run-tests-ubuntu-cuda.yml
vendored
2
.github/workflows/run-tests-ubuntu-cuda.yml
vendored
@ -20,7 +20,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- nightly-test
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
2
.github/workflows/run-tests-windows-cpu.yml
vendored
2
.github/workflows/run-tests-windows-cpu.yml
vendored
@ -20,7 +20,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- nightly-test
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
Loading…
x
Reference in New Issue
Block a user