Skip to content

Commit 8f8724e

Browse files
committed
Turn Thread Sanitizer back on in CI (Github-side issue has been fixed)
1 parent efcb63f commit 8f8724e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
swift --version
3939
- name: Check out package
4040
uses: actions/checkout@v4
41-
- name: Run unit tests
41+
- name: Run unit tests with Thread Sanitizer
4242
env:
4343
CODE_COVERAGE: ${{ matrix.code-coverage && '--enable-code-coverage' || '' }}
4444
run: |
45-
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' ${CODE_COVERAGE}
45+
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' --sanitize=thread ${CODE_COVERAGE}
4646
- name: Submit code coverage
4747
if: ${{ matrix.code-coverage }}
4848
uses: vapor/[email protected]
@@ -175,7 +175,7 @@ jobs:
175175
- name: Checkout code
176176
uses: actions/checkout@v4
177177
- name: Run all tests
178-
run: swift test --sanitize=thread
178+
run: swift test
179179

180180
api-breakage:
181181
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)