Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Minor updates to docs on how to run tests #8666

Merged
merged 1 commit into from
Oct 27, 2020
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
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ directory of your choice::
Synapse has a number of external dependencies, that are easiest
to install using pip and a virtualenv::

virtualenv -p python3 env
source env/bin/activate
python -m pip install --no-use-pep517 -e ".[all]"
python3 -m venv ./env
source ./env/bin/activate
pip install -e ".[all,test]"
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved

This will run a process of downloading and installing all the needed
dependencies into a virtual env.
Expand All @@ -270,9 +270,9 @@ check that everything is installed as it should be::

This should end with a 'PASSED' result::

Ran 143 tests in 0.601s
Ran 1266 tests in 643.930s

PASSED (successes=143)
PASSED (skips=15, successes=1251)

Running the Integration Tests
=============================
Expand Down
1 change: 1 addition & 0 deletions changelog.d/8666.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Minor updates to docs on running tests.
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ deps =
pip>=10

setenv =
# we have a pyproject.toml, but don't want pip to use it for building.
# (otherwise we get an error about 'editable mode is not supported for
# pyproject.toml-style projects').
PIP_USE_PEP517 = false

PYTHONDONTWRITEBYTECODE = no_byte_code
COVERAGE_PROCESS_START = {toxinidir}/.coveragerc

Expand Down