diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 494f9c4..c7a5abb 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -9,14 +9,17 @@ on: [push, pull_request] jobs: tests: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12"] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install pdm run: | @@ -25,7 +28,7 @@ jobs: - name: Install torch run: | - python -m pip install torch==1.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html + python -m pip install torch==2.3.0+cpu --index-url https://download.pytorch.org/whl/cpu - name: Install package (including dev dependencies) run: |