test on python/pytorch versions up to 3.12 and 2.4.1

This commit is contained in:
Jong Wook Kim 2024-09-30 10:26:39 -07:00
parent 423492dda7
commit 8c61a79241

View File

@ -41,11 +41,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.8', '3.9', '3.10', '3.11'] include:
pytorch-version: [1.13.1, 2.0.0] - python-version: '3.8'
exclude:
- python-version: '3.11'
pytorch-version: 1.13.1 pytorch-version: 1.13.1
- python-version: '3.8'
pytorch-version: 2.0.1
- python-version: '3.9'
pytorch-version: 2.1.2
- python-version: '3.10'
pytorch-version: 2.2.2
- python-version: '3.11'
pytorch-version: 2.3.1
- python-version: '3.12'
pytorch-version: 2.4.1
steps: steps:
- uses: conda-incubator/setup-miniconda@v2 - uses: conda-incubator/setup-miniconda@v2
- run: conda install -n test ffmpeg python=${{ matrix.python-version }} - run: conda install -n test ffmpeg python=${{ matrix.python-version }}