diff --git a/.github/workflows/ci_devtests.yml b/.github/workflows/ci_devtests.yml index 3b1122eb..e001c2a9 100644 --- a/.github/workflows/ci_devtests.yml +++ b/.github/workflows/ci_devtests.yml @@ -20,16 +20,17 @@ concurrency: jobs: devdeps: runs-on: ubuntu-latest + name: linux (3.13 py313-test-devdeps-alldeps-cov) steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: "3.12" + python-version: "3.13" - name: Install tox run: python -m pip install --upgrade tox - name: Run tests against dev dependencies - run: tox -e py312-test-devdeps-alldeps-cov + run: tox -e py313-test-devdeps-alldeps-cov - name: Upload coverage to codecov uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0 @@ -37,15 +38,16 @@ jobs: file: ./coverage.xml verbose: true - py313: + py314: runs-on: ubuntu-latest + name: linux (3.14 py314-test) steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - name: Set up Python 3.13 + - name: Set up Python 3.14 uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: - python-version: "3.13-dev" + python-version: "3.14-dev" - name: Install tox run: python -m pip install --upgrade tox - - name: Run tests against dev dependencies - run: tox -e py313-test + - name: Run tests + run: tox -e py314-test diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index f7afb510..1d83a2b5 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -20,19 +20,19 @@ concurrency: jobs: tests: runs-on: ubuntu-latest + name: linux strategy: fail-fast: false matrix: include: - - name: py39 oldest dependencies, Linux - python-version: '3.9' + - python-version: '3.9' tox_env: py39-test-oldestdeps-alldeps - - name: py310 mandatory dependencies only, Linux - python-version: '3.10' + - python-version: '3.10' tox_env: py310-test - - name: py311 with online tests, Linux - python-version: '3.11' - tox_env: py311-test-alldeps-online + - python-version: '3.11' + tox_env: py311-test-alldeps + - python-version: '3.13' + tox_env: py313-test-alldeps steps: - name: Checkout code @@ -50,7 +50,7 @@ jobs: mac_windows: runs-on: ${{ matrix.os }} - name: ${{ matrix.os }} py310 + name: ${{ matrix.os }} (3.12 py312-test-alldeps) strategy: fail-fast: false matrix: @@ -66,7 +66,7 @@ jobs: python-version: '3.12' - name: Install tox run: python -m pip install --upgrade tox - - name: Python 3.12 with latest astropy + - name: Python 3.12 with latest dependencies run: tox -e py312-test-alldeps diff --git a/tox.ini b/tox.ini index 8c29ceba..4fa94e65 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ # as oldestdeps and devastropy might not support the full python range # listed here envlist = - py{39,310,311,312,313}-test{,-alldeps,-oldestdeps,-devdeps}{,-online}{,-cov} + py{39,310,311,312,313,314}-test{,-alldeps,-oldestdeps,-devdeps}{,-online}{,-cov} linkcheck codestyle build_docs @@ -26,6 +26,8 @@ setenv = PYTEST_ARGS = -rsxf --show-capture=no online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10 -rsxf --show-capture=no devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple + # No astropy py314 wheels on pypi yet + py314: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/liberfa/simple https://pypi.anaconda.org/astropy/simple deps = cov: coverage