Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/ci_devtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,34 @@ 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
with:
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
18 changes: 9 additions & 9 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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


Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading