Skip to content

Commit

Permalink
chore: run system tests with Python 3.10 (#534)
Browse files Browse the repository at this point in the history
* chore: run system tests with Python 3.10

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
plamut and gcf-owl-bot[bot] committed Nov 10, 2021
1 parent 75b5307 commit 169a587
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Expand Up @@ -143,12 +143,12 @@ Running System Tests
$ nox -s system

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


.. note::

System tests are only configured to run under Python 3.8.
System tests are only configured to run under Python 3.10.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -31,7 +31,7 @@


DEFAULT_PYTHON_VERSION = "3.8"
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
SYSTEM_TEST_PYTHON_VERSIONS = ["3.10"]
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10"]

CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
Expand Down
1 change: 1 addition & 0 deletions owlbot.py
Expand Up @@ -354,6 +354,7 @@
samples=True,
cov_level=100,
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9", "3.10"],
system_test_python_versions=["3.10"],
system_test_external_dependencies=["psutil"],
)
s.move(templated_files, excludes=[".coveragerc", ".github/CODEOWNERS"])
Expand Down

0 comments on commit 169a587

Please sign in to comment.