Skip to content

Commit

Permalink
ci: add matrix testing with Python 3.11 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Feb 7, 2025
1 parent a32764b commit ad887d9
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- 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 -e .[dev] coverage
pip install -e .[dev]
- run: pip freeze
- run: pip list
- uses: tj-actions/changed-files@v45
Expand Down Expand Up @@ -96,3 +96,27 @@ jobs:
echo ""
! licensecheck --format csv 2> /dev/null | grep -v -E 'nvidia-|aiohappyeyeballs' | grep PROPRIETARY \
|| echo "The package(s) listed just above this line is/are potentially a problem."
matrix:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- run: sudo apt-get update
- run: sudo apt-get install --fix-missing sox libsox-dev ffmpeg
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- 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 -e .[dev]
- run: pip freeze
- run: pip list
- run: cd everyvoice && coverage run run_tests.py dev

0 comments on commit ad887d9

Please sign in to comment.