Skip to content

Commit 26558ba

Browse files
authored
chore(python): simplify nox steps in CONTRIBUTING.rst (#1135)
This is a follow up to PR #1132 based on feedback from googleapis/python-bigquery-sqlalchemy#191 to simplify the steps to run `nox` in [CONTRIBUTING.rst](https://github.com/googleapis/synthtool/blob/master/synthtool/gcp/templates/python_library/CONTRIBUTING.rst).
1 parent e934b93 commit 26558ba

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

synthtool/gcp/templates/python_library/CONTRIBUTING.rst

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,9 @@ Using ``nox``
7373
We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
7474

7575
- To test your changes, run unit tests with ``nox``::
76-
{% for v in unit_test_python_versions %}
77-
$ nox -s unit-{{ v }}
78-
{%- endfor %}
76+
$ nox -s unit
7977

80-
- Args to pytest can be passed through the nox command separated by a `--`. For
81-
example, to run a single test::
78+
- To run a single unit test::
8279

8380
$ nox -s unit-{{ unit_test_python_versions | last }} -- -k <name of test>
8481

@@ -148,9 +145,7 @@ Running System Tests
148145
- To run system tests, you can execute::
149146

150147
# Run all system tests
151-
{%- for system_test_version in system_test_python_versions %}
152-
$ nox -s system-{{ system_test_version }}
153-
{%- endfor %}
148+
$ nox -s system
154149

155150
# Run a single system test
156151
$ nox -s system-{{ system_test_python_versions | last}} -- -k <name of test>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy