Skip to content

Commit 0f67fa0

Browse files
committed
Updated testing docs & tox env
1 parent e2c96b3 commit 0f67fa0

File tree

4 files changed

+15
-19
lines changed

4 files changed

+15
-19
lines changed

docs/changes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Unreleased.
4141
- :meth:`Image.read() <wand.image.Image.read>`
4242
- :meth:`Image.save() <wand.image.Image.save>`
4343

44+
- [DOC] Updated Python versions to reflect current regression testing.
4445
- [TEST] Added Python 3.12 regression test. [:issue:`648` by Thijs Triemstra]
4546

4647

docs/guide/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Homebrew
8383
$ brew install ghostscript
8484

8585
If you are running on a Mac with Apple Silicon, you will need to export
86-
:envvar:`MAGICK_HOME` before using Wand.
86+
:envvar:`MAGICK_HOME` before using Wand.
8787

8888
.. sourcecode:: console
8989

docs/test.rst

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ Using tox_
7373
----------
7474

7575
Wand should be compatible with various Python implementations including
76-
CPython 3.3, PyPy. tox_ is a testing software that helps Python
77-
packages to test on various Python implementations at a time.
76+
CPython & PyPy. tox_ is a testing software that helps Python packages to test
77+
on various Python implementations at a time.
7878

7979
It can be installed using :program:`pip`:
8080

@@ -88,11 +88,9 @@ on multiple Python interpreters:
8888
.. sourcecode:: console
8989

9090
$ tox
91-
GLOB sdist-make: /Users/emcconville/Desktop/wand/setup.py
92-
py37 create: /Users/emcconville/Desktop/wand/.tox/py37
93-
py37 installdeps: pytest
94-
py37 sdist-inst: /Users/emcconville/Desktop/wand/.tox/dist/Wand-0.2.2.zip
95-
py37 runtests: commands[0]
91+
pypy3: install_deps> python -I -m pip install pytest pytest-forked
92+
pypy3: install_package> python -I -m pip install [...] Wand-X.X.X.tar.gz
93+
pypy3: commands[0]> pytest --forked
9694
...
9795

9896
You can use a double ``--`` to pass options to pytest:
@@ -107,17 +105,17 @@ You can use a double ``--`` to pass options to pytest:
107105
Continuous Integration
108106
----------------------
109107

110-
.. image:: https://secure.travis-ci.org/emcconville/wand.svg?branch=master
108+
.. image:: https://github.com/emcconville/wand/workflows/Wand%20CI/badge.svg
111109
:alt: Build Status
112-
:target: https://travis-ci.org/emcconville/wand
110+
:target: https://github.com/emcconville/wand/actions?query=workflow%3A%22Wand+CI%22
113111

114-
`Travis CI`_ automatically builds and tests every commit and pull request.
112+
`GitHub Actions`_ automatically builds and tests every commit and pull request.
115113
The above banner image shows the current status of Wand build.
116114
You can see the detail of the current status from the following URL:
117115

118-
https://travis-ci.org/emcconville/wand
116+
https://github.com/emcconville/wand/actions
119117

120-
.. _Travis CI: http://travis-ci.org/
118+
.. _GitHub Actions: https://docs.github.com/en/actions
121119

122120

123121
Code Coverage

tox.ini

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
[tox]
2-
envlist = py38
2+
envlist = pypy3, py312, py313, py314
33

44
[testenv]
55
deps =
66
pytest
7-
pytest-xdist
8-
pytest-cov
9-
memory_profiler
10-
psutil
7+
pytest-forked
118
commands =
12-
pytest {posargs:--durations=5 --boxed}
9+
pytest {posargs:--forked}
1310

0 commit comments

Comments
 (0)