Skip to content

Commit

Permalink
enable py311 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle committed Feb 7, 2023
1 parent 37f32f5 commit 93046ec
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
version: ["py310"]
version: ["py311"]
#session: ["tests", "doc-build", "doc-linkcheck", "doc-tests"]
session: ["tests"]
include:
Expand All @@ -54,6 +54,10 @@ jobs:
version: "py310"
session: "tests"
platform: "linux"
- os: "ubuntu-latest"
version: "py311"
session: "tests"
platform: "linux"
posargs: "--cov-report=xml --cov"
post-command: "codecov"
#- os: "ubuntu-latest"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["py38", "py39", "py310"]
version: ["py38", "py39", "py310", "py311"]
session: ["env"]

steps:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: Atmospheric Science
description = Cartographic rendering and mesh analytics powered by PyVista
long_description = file: README.md
Expand Down
15 changes: 12 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,40 @@ commands =
time conda-lock --channel conda-forge --kind explicit --file {env:TMPFILE} --platform linux-64 --filename-template "{envname}-\{platform\}.txt" {posargs}


[testenv:py{38,39,310}-{linux,osx,win}-env]
[testenv:py{38,39,310,311}-{linux,osx,win}-env]
conda_spec =
py38-linux: {toxinidir}{/}requirements{/}locks{/}py38-lock-linux-64.txt
py39-linux: {toxinidir}{/}requirements{/}locks{/}py39-lock-linux-64.txt
py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt
py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt
py38-osx: {toxinidir}{/}requirements{/}locks{/}py38-lock-osx-64.txt
py39-osx: {toxinidir}{/}requirements{/}locks{/}py39-lock-osx-64.txt
py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt
py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt
py38-win: {toxinidir}{/}requirements{/}locks{/}py38-lock-win-64.txt
py39-win: {toxinidir}{/}requirements{/}locks{/}py39-lock-win-64.txt
py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt
py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt
description =
Create an environment only containing geovista dependencies.
skip_install =
true


[testenv:py{38,39,310}-{linux,osx,win}-tests]
[testenv:py{38,39,310,311}-{linux,osx,win}-tests]
conda_spec =
py38-linux: {toxinidir}{/}requirements{/}locks{/}py38-lock-linux-64.txt
py39-linux: {toxinidir}{/}requirements{/}locks{/}py39-lock-linux-64.txt
py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt
py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt
py38-osx: {toxinidir}{/}requirements{/}locks{/}py38-lock-osx-64.txt
py39-osx: {toxinidir}{/}requirements{/}locks{/}py39-lock-osx-64.txt
py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt
py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt
py38-win: {toxinidir}{/}requirements{/}locks{/}py38-lock-win-64.txt
py39-win: {toxinidir}{/}requirements{/}locks{/}py39-lock-win-64.txt
py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt
py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt
description =
Perform geovista unit/integration tests.
passenv =
Expand All @@ -73,17 +79,20 @@ commands =
{env:POST_COMMAND:}


[testenv:py{38,39,310}-{linux,osx-win}-doc-{build,linkcheck,tests}]
[testenv:py{38,39,310,311}-{linux,osx-win}-doc-{build,linkcheck,tests}]
conda_spec =
py38-linux: {toxinidir}{/}requirements{/}locks{/}py38-lock-linux-64.txt
py39-linux: {toxinidir}{/}requirements{/}locks{/}py39-lock-linux-64.txt
py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt
py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt
py38-osx: {toxinidir}{/}requirements{/}locks{/}py38-lock-osx-64.txt
py39-osx: {toxinidir}{/}requirements{/}locks{/}py39-lock-osx-64.txt
py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt
py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt
py38-win: {toxinidir}{/}requirements{/}locks{/}py38-lock-win-64.txt
py39-win: {toxinidir}{/}requirements{/}locks{/}py39-lock-win-64.txt
py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt
py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt
description =
Build, test and link-check the geovista documentation.
envdir =
Expand Down

0 comments on commit 93046ec

Please sign in to comment.