Browse Source

ref: show the 10 slowest tests in CI summary (#39915)

just so it's easy to see what's slow
<!-- Describe your PR here. -->
anthony sottile 2 years ago
parent
commit
fbb9e9623e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/actions/setup-sentry/action.yml

+ 1 - 1
.github/actions/setup-sentry/action.yml

@@ -77,7 +77,7 @@ runs:
 
 
         ### pytest-sentry configuration ###
         ### pytest-sentry configuration ###
         echo "PYTEST_SENTRY_DSN=https://6fd5cfea2d4d46b182ad214ac7810508@sentry.io/2423079" >> $GITHUB_ENV
         echo "PYTEST_SENTRY_DSN=https://6fd5cfea2d4d46b182ad214ac7810508@sentry.io/2423079" >> $GITHUB_ENV
-        echo "PYTEST_ADDOPTS=--reruns 5" >> $GITHUB_ENV
+        echo "PYTEST_ADDOPTS=--reruns=5 --durations=10" >> $GITHUB_ENV
 
 
         # Configure a different release version, otherwise it defaults to the
         # Configure a different release version, otherwise it defaults to the
         # commit sha which will conflict with our actual prod releases. This is a
         # commit sha which will conflict with our actual prod releases. This is a