Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb11998

Browse files
chore(python): simplify nox steps in CONTRIBUTING.rst (#51)
Source-Link: googleapis/synthtool@26558ba Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:99d90d097e4a4710cc8658ee0b5b963f4426d0e424819787c3ac1405c9a26719
1 parent bf4bf54 commit bb11998

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-python:latest
3-
digest: sha256:bfe1222de1e4abc82562f5d13874f822fe766ef9427144645a5d794b5f1269e9
3+
digest: sha256:99d90d097e4a4710cc8658ee0b5b963f4426d0e424819787c3ac1405c9a26719

packages/google-cloud-access-context-manager/CONTRIBUTING.rst

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

7070
- To test your changes, run unit tests with ``nox``::
71+
$ nox -s unit
7172

72-
$ nox -s unit-3.6
73-
$ nox -s unit-3.7
74-
$ nox -s unit-3.8
75-
$ nox -s unit-3.9
76-
77-
- Args to pytest can be passed through the nox command separated by a `--`. For
78-
example, to run a single test::
73+
- To run a single unit test::
7974

8075
$ nox -s unit-3.9 -- -k <name of test>
8176

@@ -145,7 +140,7 @@ Running System Tests
145140
- To run system tests, you can execute::
146141

147142
# Run all system tests
148-
$ nox -s system-3.8
143+
$ nox -s system
149144

150145
# Run a single system test
151146
$ nox -s system-3.8 -- -k <name of test>

0 commit comments

Comments
 (0)