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
7 changes: 2 additions & 5 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ Added
- Deprecation warning for existing `-i` option for `projects` command.
- Binder build cache step

Updated
~~~~~~~

- Remove notebooks directory as we break it out into a `separate repository <https://github.com/open-strateos/txpy_jupyter_notebooks>`_

Fixed
~~~~~

Expand All @@ -33,6 +28,8 @@ Updated
- Added new option "--names" to `projects` CLI command. This is meant as a better
named and more intuitive replacement for the existing `-i` option.
- Returned more explicit error statuses for `projects` and `submit` commands.
- Remove notebooks directory as we break it out into a `separate repository <https://github.com/open-strateos/txpy_jupyter_notebooks>`_
- Plumbed test posargs through to allow local execution of specific test files.

v9.0.0
------
Expand Down
7 changes: 5 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ For testing purposes, we write tests in the ``test`` folder in the
also use `tox <https://tox.readthedocs.org/en/latest/>`__ for automating
tests.

The ``tox`` command is run by Jenkins and is currently configured to run
The ``tox`` command is run by CI and is currently configured to run
the main module tests, generate a coverage report and build
documentation.

Expand All @@ -92,7 +92,7 @@ the root folder.

If you’re using `pyenv <https://github.com/pyenv/pyenv>`__ to manage
python versions, ensure you have all the tested environments in your
``.python-version`` file. i.e.\ ``pyenv local 3.5.6 3.6.8 3.7.3``
``.python-version`` file. i.e.\ ``pyenv local 3.6.12 3.7.9 3.8.7``

Running Specific Tests
~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -103,6 +103,9 @@ To run just the main module tests, execute ``python setup.py test`` in
the root folder. This is specified by the main ``[testenv]`` flag in
``tox.ini``.

To run a specific test, execute ``python setup.py test -a path/to/test.py``.
Using tox, ``tox -e py36 -- -a path/to/test.py``.

To build the docs locally, execute
``sphinx-build -W -b html -d tmp/doctrees . -d tmp/html`` in the
``docs`` directory. This is specified by the ``[testenv:docs]`` flag in
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist = clean, py36, py37, py38, stats, lint, docs

[testenv]
commands = python setup.py test
commands = python setup.py test {posargs}
deps = .[test, jupyter, analysis]

[testenv:clean]
Expand Down