Skip to content

Commit 2ccd1a5

Browse files
committed
only enable flaky tests for master
1 parent 5c2fd16 commit 2ccd1a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ jobs:
8080
### pytest-sentry configuration ###
8181
if [ "$GITHUB_REPOSITORY" = "getsentry/self-hosted" ]; then
8282
echo "PYTEST_SENTRY_DSN=$SELF_HOSTED_TESTING_DSN" >> $GITHUB_ENV
83-
echo "PYTEST_SENTRY_TRACES_SAMPLE_RATE=0" >> $GITHUB_ENV
83+
echo "PYTEST_SENTRY_TRACES_SAMPLE_RATE=0.0" >> $GITHUB_ENV
8484
8585
# This records failures on master to sentry in order to detect flakey tests, as it's
8686
# expected that people have failing tests on their PRs
87-
# if [ "$GITHUB_REF" = "refs/heads/master" ]; then
88-
echo "PYTEST_SENTRY_ALWAYS_REPORT=1" >> $GITHUB_ENV
89-
# fi
87+
if [ "$GITHUB_REF" = "refs/heads/master" ]; then
88+
echo "PYTEST_SENTRY_ALWAYS_REPORT=1" >> $GITHUB_ENV
89+
fi
9090
fi
9191
9292
- name: Get Compose

0 commit comments

Comments
 (0)