Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump default python version to 3.11 in CI workflows #513

Merged
merged 2 commits into from
Sep 8, 2023
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
24 changes: 12 additions & 12 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Tests

on:
push:
Expand All @@ -23,7 +23,7 @@ permissions:
contents: read

jobs:
ci-tests:
tests:
name: ${{ matrix.prefix }} ${{ matrix.os }}, ${{ matrix.tox_env }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.allow_failure }}
Expand Down Expand Up @@ -56,37 +56,37 @@ jobs:
prefix: ''

- os: macos-latest
python: '3.10'
tox_env: 'py310-test-alldeps'
python: '3.11'
tox_env: 'py311-test-alldeps'
allow_failure: false
prefix: ''

- os: windows-latest
python: '3.10'
tox_env: 'py310-test-alldeps'
python: '3.11'
tox_env: 'py311-test-alldeps'
allow_failure: false
prefix: ''

- os: ubuntu-latest
python: '3.10'
tox_env: 'py310-test'
python: '3.11'
tox_env: 'py311-test'
allow_failure: false
prefix: ''

- os: ubuntu-latest
python: '3.10'
python: '3.11'
tox_env: 'codestyle'
allow_failure: false
prefix: ''

- os: ubuntu-latest
python: '3.10'
python: '3.11'
tox_env: 'pep517'
allow_failure: false
prefix: ''

- os: ubuntu-latest
python: '3.10'
python: '3.11'
tox_env: 'bandit'
allow_failure: false
prefix: ''
Expand All @@ -99,7 +99,7 @@ jobs:

- os: ubuntu-latest
python: '3.11'
tox_env: 'py311-test-alldeps-devdeps'
tox_env: 'py311-test-devdeps'
toxposargs: --remote-data=any
allow_failure: true
prefix: '(Allowed failure)'
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py{38,39,310,311}-test{,-alldeps,-devdeps,-oldestdeps,-devinfra}{,-cov}
py{38,39,310,311}-test-numpy{118,119,120,121,122,123}
py{38,39,310,311}-test-numpy{118,119,120,121,122,123,124,125}
py{38,39,310,311}-test-astropy{50,lts}
build_docs
linkcheck
Expand Down Expand Up @@ -50,6 +50,8 @@ description =
numpy121: with numpy 1.21.*
numpy122: with numpy 1.22.*
numpy123: with numpy 1.23.*
numpy124: with numpy 1.24.*
numpy125: with numpy 1.25.*
astropy50: with astropy 5.0.*
astropylts: with the latest astropy LTS
casa: with casatools and casatasks
Expand All @@ -64,6 +66,8 @@ deps =
numpy121: numpy==1.21.*
numpy122: numpy==1.22.*
numpy123: numpy==1.23.*
numpy124: numpy==1.24.*
numpy125: numpy==1.25.*

astropy50: astropy==5.0.*
astropylts: astropy==5.0.*
Expand Down
Loading