Skip to content

Commit

Permalink
Merge pull request #207 from bsipocz/CI_more_versions
Browse files Browse the repository at this point in the history
CI: more versions
  • Loading branch information
pllim authored Jul 7, 2023
2 parents ab5ef3a + 19685dc commit 92b408f
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 9 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,31 @@ jobs:
- os: ubuntu-latest
python-version: 3.9
toxenv: py39-test-pytest62
- os: macos-latest
python-version: '3.11'
toxenv: py311-test-pytestdev
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytest70
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytest71
- os: windows-latest
python-version: '3.11'
toxenv: py311-test-pytest72
- os: ubuntu-latest
python-version: '3.11'
toxenv: py311-test-pytest73
- os: ubuntu-latest
python-version: '3.11'
toxenv: py311-test-pytest74
toxargs: --pre
- os: macos-latest
python-version: '3.11'
toxenv: py311-test-pytestdev
- os: windows-latest
python-version: '3.11'
toxenv: py311-test-pytestdev
- os: ubuntu-latest
python-version: '3.12-dev'
toxenv: py312-test-pytestdev

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions LICENSE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ are permitted provided that the following conditions are met:
* Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of the Astropy Team nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
* Neither the names of the Astropy or Scientific Python Teams nor the names of
their contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development :: Testing
Topic :: Utilities
Expand Down
5 changes: 3 additions & 2 deletions tests/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
from datetime import datetime


# -- Project information -----------------------------------------------------

project = 'pytest-doctestplus'
copyright = '2011-2023, Astropy Infrastructure Team'
author = 'Astropy Infrastructure Team'
copyright = f'2023-{datetime.now().year}, Scientific Python Developers'
author = 'Scientific Python Developers'


# -- General configuration ---------------------------------------------------
Expand Down
12 changes: 11 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{37,38,39,310,311}-test
py{37,38,39,310,311,312}-test
codestyle
requires =
setuptools >= 30.3.0
Expand All @@ -9,6 +9,9 @@ isolated_build = true

[testenv]
changedir = .tmp/{envname}
setenv =
# Until a released numpy version is 3.12 compatible, we install the dev wheel
py312: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
description = run tests
deps =
pytest46: pytest==4.6.*
Expand All @@ -20,7 +23,14 @@ deps =
pytest61: pytest==6.1.*
pytest62: pytest==6.2.*
pytest70: pytest==7.0.*
pytest71: pytest==7.1.*
pytest72: pytest==7.2.*
pytest73: pytest==7.3.*
pytest74: pytest==7.4.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
# We keep seeing pytest related issues with the latest release and python 3.12, keep using the dev version until it's fixed upstream
py312: git+https://github.com/pytest-dev/pytest#egg=pytest
py312: numpy>=0.0.dev0

extras =
test
Expand Down

0 comments on commit 92b408f

Please sign in to comment.