File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : test
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+
10+ jobs :
11+ whisper-test :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ include :
16+ - python-version : ' 3.8'
17+ pytorch-version : 1.10.1
18+ numpy-requirement : " 'numpy<2'"
19+ - python-version : ' 3.8'
20+ pytorch-version : 1.13.1
21+ numpy-requirement : " 'numpy<2'"
22+ - python-version : ' 3.8'
23+ pytorch-version : 2.0.1
24+ numpy-requirement : " 'numpy<2'"
25+ - python-version : ' 3.9'
26+ pytorch-version : 2.1.2
27+ numpy-requirement : " 'numpy<2'"
28+ - python-version : ' 3.10'
29+ pytorch-version : 2.2.2
30+ numpy-requirement : " 'numpy<2'"
31+ - python-version : ' 3.11'
32+ pytorch-version : 2.3.1
33+ numpy-requirement : " 'numpy'"
34+ - python-version : ' 3.12'
35+ pytorch-version : 2.4.1
36+ numpy-requirement : " 'numpy'"
37+ - python-version : ' 3.12'
38+ pytorch-version : 2.5.0
39+ numpy-requirement : " 'numpy'"
40+ steps :
41+ - uses : conda-incubator/setup-miniconda@v3
42+ - run : conda install -n test ffmpeg python=${{ matrix.python-version }}
43+ - uses : actions/checkout@v4
44+ - run : echo "$CONDA/envs/test/bin" >> $GITHUB_PATH
45+ - run : pip3 install .["dev"] ${{ matrix.numpy-requirement }} torch==${{ matrix.pytorch-version }}+cpu --index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple
46+ - run : python test/test_transcribe.py
47+ - run : python test/test_align.py
48+ - run : python test/test_refine.py
You can’t perform that action at this time.
0 commit comments