Skip to content

Commit cc1d2a1

Browse files
committed
Adjust which jobs run in CI.
1 parent f1b1cfb commit cc1d2a1

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
# Location of word list.
5050
spelling_word_list_filename = "spelling_wordlist.txt"
5151

52+
# The documentation does not include contributor names, so we skip this because it's
53+
# flaky about needing to scan commit history.
54+
spelling_ignore_contributor_names = False
55+
5256
# Doctest configuration.
5357
doctest_global_setup = "from webcolors import *"
5458
doctest_default_flags = (

noxfile.py

+6
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def tests_definitions(session: nox.Session) -> None:
106106
Run the full color definitions test suite (requires an internet connection).
107107
108108
"""
109+
if IS_CI:
110+
session.skip("Release tests do not run in CI.")
109111
session.install("pytest", "bs4", "html5lib", "requests", ".[tests]")
110112
session.run(f"python{session.python}", "-I", "tests/definitions.py")
111113
clean()
@@ -117,6 +119,8 @@ def tests_full_colors(session: nox.Session) -> None:
117119
Run the full color conversion test suite (slow/CPU-intensive).
118120
119121
"""
122+
if IS_CI:
123+
session.skip("Release tests do not run in CI.")
120124
session.install(".[tests]")
121125
session.run(f"python{session.python}", "-I", "tests/full_colors.py")
122126
clean()
@@ -385,6 +389,8 @@ def package_manifest(session: nox.Session) -> None:
385389
Check that the set of files in the package matches the set under version control.
386390
387391
"""
392+
if IS_CI:
393+
session.skip("check-manifest already run by earlier CI steps.")
388394
session.install("check-manifest")
389395
session.run(f"python{session.python}", "-Im", "check_manifest", "--version")
390396
session.run(f"python{session.python}", "-Im", "check_manifest", "--verbose")

0 commit comments

Comments
 (0)