diff --git a/.github/workflows/cron-tests.yml b/.github/workflows/cron-tests.yml index 752db963..c0ba8391 100644 --- a/.github/workflows/cron-tests.yml +++ b/.github/workflows/cron-tests.yml @@ -18,11 +18,14 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, macos-latest] # TODO: re-enable windows-latest - python: ['3.8', '3.9', '3.10'] + os: [ubuntu-latest, macos-latest] # TODO: re-enable windows-latest + python: ['3.8', '3.9', '3.10', '3.11'] include: # These set options for each python version. So, for example, when any - # python 3.10 job in the matrix runs, it should use this toxenv + # python 3.11 job in the matrix runs, it should use this toxenv + - python: '3.11' + toxenv: py311-test + - python: '3.10' toxenv: py310-test diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a0634691..14b92563 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,21 +28,31 @@ jobs: python: 3.9 toxenv: py39-test-cov + - name: Python 3.9 + os: ubuntu-latest + python: '3.9' + toxenv: py39-test + - name: Python 3.10 os: ubuntu-latest python: '3.10' toxenv: py310-test + - name: Python 3.11 + os: ubuntu-latest + python: '3.11' + toxenv: py311-test + # Has to happen on ubuntu because galpy is finnicky on macOS - - name: Python 3.9 with all optional dependencies + - name: Python 3.10 with all optional dependencies os: ubuntu-latest - python: 3.9 - toxenv: py39-test-extradeps + python: '3.10' + toxenv: py310-test-extradeps toxposargs: --durations=50 - - name: Python 3.9 without GSL + - name: Python 3.10 without GSL os: ubuntu-latest - python: 3.9 + python: '3.10' toxenv: nogsl - name: Python 3.8 with oldest supported version of all dependencies @@ -51,10 +61,10 @@ jobs: toxenv: py38-test-oldestdeps # Mac and Windows: - - name: Python 3.9 standard tests (macOS) + - name: Python 3.10 standard tests (macOS) os: macos-latest - python: 3.9 - toxenv: py39-test + python: '3.10' + toxenv: py310-test # - name: Python 3.9 standard tests (Windows) # os: windows-latest @@ -113,6 +123,7 @@ jobs: if: runner.os == 'Linux' run: | sudo apt-get install gsl-bin libgsl0-dev build-essential + sudo apt-get install libhdf5-serial-dev # TODO: remove when h5py has 3.11 wheels # Any *nix: - name: Install Python dependencies - nix diff --git a/.github/workflows/tutorials.yml b/.github/workflows/tutorials.yml index 73424e83..2ab1cf93 100644 --- a/.github/workflows/tutorials.yml +++ b/.github/workflows/tutorials.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: '3.10' - name: Install dependencies run: |