summaryrefslogtreecommitdiffstats
path: root/run_tests
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests')
-rwxr-xr-xrun_tests10
1 files changed, 10 insertions, 0 deletions
diff --git a/run_tests b/run_tests
index 4720ac20..04f2deb4 100755
--- a/run_tests
+++ b/run_tests
@@ -102,6 +102,15 @@ def run_isort():
102 ).returncode 102 ).returncode
103 103
104 104
105def run_check_metadata():
106 """Returns the exit code from check-metadata."""
107 return subprocess.run(
108 [sys.executable, "release/check-metadata.py"],
109 check=False,
110 cwd=ROOT_DIR,
111 ).returncode
112
113
105def run_update_manpages() -> int: 114def run_update_manpages() -> int:
106 """Returns the exit code from release/update-manpages.""" 115 """Returns the exit code from release/update-manpages."""
107 # Allow this to fail on CI, but not local devs. 116 # Allow this to fail on CI, but not local devs.
@@ -124,6 +133,7 @@ def main(argv):
124 run_black, 133 run_black,
125 run_flake8, 134 run_flake8,
126 run_isort, 135 run_isort,
136 run_check_metadata,
127 run_update_manpages, 137 run_update_manpages,
128 ) 138 )
129 # Run all the tests all the time to get full feedback. Don't exit on the 139 # Run all the tests all the time to get full feedback. Don't exit on the