Skip to content

Commit

Permalink
Temporarily disable TSAN
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne authored Mar 15, 2024
1 parent ea5c7b7 commit d1cda51
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run pure unit tests
name: Run pure unit tests
on:
workflow_call:
inputs:
Expand Down Expand Up @@ -50,7 +50,8 @@ on:
env:
PACKAGE_ROOT: ${{ inputs.package_root != '' && format('--package-path={0}', inputs.package_root) || '' }}
EXTRA_FLAGS: ${{ inputs.extra_flags }}
WITH_TSAN: ${{ inputs.with_tsan && '--sanitize=thread' || '' }}
WITH_TSAN: false
#${{ inputs.with_tsan && '--sanitize=thread' || '' }}
TEST_FILTER: ${{ inputs.test_filter != '' && format('--filter={0}', inputs.test_filter) || '' }}
defaults:
run:
Expand All @@ -61,13 +62,9 @@ jobs:
api-breakage:
if: ${{ inputs.with_public_api_check && !(github.event.pull_request.draft || false) && github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
container:
image: swift:jammy
options: --privileged
container: swift:jammy
timeout-minutes: 20
steps:
- name: GH Runner bug workaround
run: 'if [[ "${ImageVersion}" == "20240310.1.0" ]]; then sysctl -w vm.mmap_rnd_bits=28; fi'
- name: Check out code
uses: actions/checkout@v4
with: { 'fetch-depth': 0 }
Expand All @@ -79,14 +76,10 @@ jobs:
dependency-graph:
if: ${{ inputs.with_deps_submission && github.event_name == 'push' }}
runs-on: ubuntu-latest
container:
image: swift:jammy
options: --privileged
container: swift:jammy
permissions:
contents: write
steps:
- name: GH Runner bug workaround
run: 'if [[ "${ImageVersion}" == "20240310.1.0" ]]; then sysctl -w vm.mmap_rnd_bits=28; fi'
- name: Check out code
uses: actions/checkout@v4
- name: Fix Git configuration
Expand All @@ -101,13 +94,9 @@ jobs:
code-coverage:
if: ${{ inputs.with_coverage && !(github.event.pull_request.draft || false) }}
runs-on: ubuntu-latest
container:
image: swift:jammy
options: --privileged
container: swift:jammy
timeout-minutes: 30
steps:
- name: GH Runner bug workaround
run: 'if [[ "${ImageVersion}" == "20240310.1.0" ]]; then sysctl -w vm.mmap_rnd_bits=28; fi'
- name: Check out code
uses: actions/checkout@v4
- name: Run unit tests for coverage data
Expand All @@ -123,14 +112,10 @@ jobs:
gh-codeql:
if: ${{ (false && inputs.with_gh_codeql) && !(github.event.pull_request.draft || false) }}
runs-on: ubuntu-latest
container:
image: swift:jammy
options: --privileged
container: swift:jammy
permissions: { actions: write, contents: read, security-events: write }
timeout-minutes: 30
steps:
- name: GH Runner bug workaround
run: 'if [[ "${ImageVersion}" == "20240310.1.0" ]]; then sysctl -w vm.mmap_rnd_bits=28; fi'
- name: Check out code
uses: actions/checkout@v4
- name: Mark repo safe in non-fake global config
Expand Down

0 comments on commit d1cda51

Please sign in to comment.