mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-15 20:22:36 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- nightly-test
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
@ -20,8 +20,6 @@ name: build_conda_ubuntu_cuda
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- nightly-test
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
name: Nightly tests macos cpu
|
name: Nightly tests macos cpu
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- nightly-test
|
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
# minute (0-59)
|
# minute (0-59)
|
||||||
# hour (0-23)
|
# hour (0-23)
|
||||||
|
@ -73,13 +73,10 @@ jobs:
|
|||||||
python3 -c "import sys; print(sys.version)"
|
python3 -c "import sys; print(sys.version)"
|
||||||
which python3
|
which python3
|
||||||
|
|
||||||
- name: Install kaldifeat
|
- name: Install kaldifeat and run tests
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
run: |
|
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
|
cd kaldifeat/python/tests
|
||||||
make test
|
make test
|
||||||
|
@ -73,13 +73,10 @@ jobs:
|
|||||||
python3 -c "import sys; print(sys.version)"
|
python3 -c "import sys; print(sys.version)"
|
||||||
which python3
|
which python3
|
||||||
|
|
||||||
- name: Install kaldifeat
|
- name: Install kaldifeat and run tests
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
run: |
|
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
|
cd kaldifeat/python/tests
|
||||||
make test
|
make test
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
name: Nightly tests ubuntu pip cpu
|
name: Nightly tests ubuntu pip cpu
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- nightly-test
|
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
# minute (0-59)
|
# minute (0-59)
|
||||||
# hour (0-23)
|
# hour (0-23)
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
name: Nightly tests ubuntu pip cuda
|
name: Nightly tests ubuntu pip cuda
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- nightly-test
|
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
# minute (0-59)
|
# minute (0-59)
|
||||||
# hour (0-23)
|
# hour (0-23)
|
||||||
|
@ -17,10 +17,6 @@
|
|||||||
name: Nightly tests windows pip cpu
|
name: Nightly tests windows pip cpu
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- nightly-test
|
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
# minute (0-59)
|
# minute (0-59)
|
||||||
# hour (0-23)
|
# 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: |
|
run: |
|
||||||
python3 -m pip install -qq --upgrade pip
|
python3 -m pip install -qq --upgrade pip
|
||||||
python3 -m pip install -qq wheel twine typing_extensions soundfile numpy
|
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__)"
|
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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- nightly-test
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- 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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- nightly-test
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- 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:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- nightly-test
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user