diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index cc156c7..3c0565e 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.13" cache: "pip" cache-dependency-path: pyproject.toml @@ -37,7 +37,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: "3.13" cache: "pip" cache-dependency-path: pyproject.toml @@ -52,9 +52,12 @@ jobs: - name: darglint docstring validation run: darglint src --strictness=short --ignore-raise=ValueError - tests-jax-latest: + tests: runs-on: ubuntu-latest - timeout-minutes: 5 + strategy: + matrix: + python-version: ["3.10", "3.13"] + timeout-minutes: 8 steps: - name: Checkout repository uses: actions/checkout@v5 @@ -62,7 +65,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} cache: "pip" cache-dependency-path: pyproject.toml @@ -74,27 +77,3 @@ jobs: - name: Run Python tests run: | pytest --cov=invrs_opt tests - - tests-jax-0_4_27: - runs-on: ubuntu-latest - timeout-minutes: 5 - steps: - - name: Checkout repository - uses: actions/checkout@v5 - - - name: Set up Python - uses: actions/setup-python@v6 - with: - python-version: "3.10" - cache: "pip" - cache-dependency-path: pyproject.toml - - - name: Setup environment - run: | - python -m pip install --upgrade pip - pip install --upgrade "jax[cpu]==0.4.27" - pip install ".[tests,dev]" - - - name: Run Python tests - run: | - pytest --cov=invrs_opt tests