Skip to content

Commit

Permalink
Turn Thread Sanitizer back on in CI (Github-side issue has been fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Mar 26, 2024
1 parent efcb63f commit 8f8724e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -38,11 +38,11 @@ jobs:
swift --version
- name: Check out package
uses: actions/checkout@v4
- name: Run unit tests
- name: Run unit tests with Thread Sanitizer
env:
CODE_COVERAGE: ${{ matrix.code-coverage && '--enable-code-coverage' || '' }}
run: |
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' ${CODE_COVERAGE}
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' --sanitize=thread ${CODE_COVERAGE}
- name: Submit code coverage
if: ${{ matrix.code-coverage }}
uses: vapor/swift-codecov-action@v0.2
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Run all tests
run: swift test --sanitize=thread
run: swift test

api-breakage:
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 8f8724e

Please sign in to comment.