Skip to main content

Tweak the ts script again

ID
4a49dcd
date
2025-05-12 10:39:03+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
80adc7a
message
Tweak the `ts` script again
changed files
1 file, 2 additions, 2 deletions

Changed files

ts (2986) → ts (3029)

diff --git a/ts b/ts
index 75ab585..69386f5 100755
--- a/ts
+++ b/ts
@@ -81,8 +81,8 @@ function run_python_tests() {
          [[ "$REPO_NAME" = "flickr-photos-api" ]] ||
          [[ "$REPO_NAME" = "analytics.alexwlchan.net" ]]
     then
-        print_info "-> pytest tests"
-        pytest tests/ --quiet
+        print_info "-> pytest tests --cov=src --cov=tests"
+        pytest tests --cov=src --cov=tests --quiet
     else
         print_info "-> coverage run -m pytest tests"
         coverage run -m pytest tests --quiet