-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporarily disable Thread Sanitizer in CI
- Loading branch information
1 parent
850be3c
commit 75ee49f
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,11 +38,11 @@ jobs: | |
swift --version | ||
- name: Check out package | ||
uses: actions/checkout@v4 | ||
- name: Run unit tests with Thread Sanitizer | ||
- name: Run unit tests | ||
env: | ||
CODE_COVERAGE: ${{ matrix.code-coverage && '--enable-code-coverage' || '' }} | ||
run: | | ||
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' --sanitize=thread ${CODE_COVERAGE} | ||
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' ${CODE_COVERAGE} | ||
- name: Submit code coverage | ||
if: ${{ matrix.code-coverage }} | ||
uses: vapor/[email protected] | ||
|
@@ -139,11 +139,11 @@ jobs: | |
- scram-sha-256 | ||
xcode-version: | ||
- '~14.3' | ||
- '~15.0' | ||
- '~15' | ||
include: | ||
- xcode-version: '~14.3' | ||
macos-version: 'macos-13' | ||
- xcode-version: '~15.0' | ||
- xcode-version: '~15' | ||
macos-version: 'macos-14' | ||
runs-on: ${{ matrix.macos-version }} | ||
env: | ||
|
@@ -175,7 +175,7 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Run all tests | ||
run: swift test | ||
run: swift test --sanitize=thread | ||
|
||
api-breakage: | ||
if: github.event_name == 'pull_request' | ||
|