-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (37 loc) · 1.14 KB
/
matrix-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run full matrix Tests before Releases
on:
- push
- workflow_call
- workflow_dispatch
jobs:
pre-release-matrix-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SGILE_PAT }}
submodules: recursive
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install sox and use conda to optimize other installs
run: |
conda install -y sox $(grep "pycountry\|pyworld" requirements.txt) -c conda-forge
- name: Install dependencies and package
run: |
CUDA_TAG=cpu pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
pip install -r requirements.test.txt
pip install cython
pip install -e .
- name: Run tests
run: |
cd everyvoice && ./run_tests.py dev