Skip to content

Commit 2a6d800

Browse files
Backport PR pandas-dev#57886 on branch 2.2.x (CI: Remove ASAN job) (pandas-dev#57910)
Backport PR pandas-dev#57886: CI: Remove ASAN job Co-authored-by: William Ayd <[email protected]>
1 parent 83497f5 commit 2a6d800

File tree

3 files changed

+1
-54
lines changed

3 files changed

+1
-54
lines changed

.github/actions/run-tests/action.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
name: Run tests and report results
2-
inputs:
3-
preload:
4-
description: Preload arguments for sanitizer
5-
required: false
6-
asan_options:
7-
description: Arguments for Address Sanitizer (ASAN)
8-
required: false
92
runs:
103
using: composite
114
steps:
125
- name: Test
13-
run: ${{ inputs.asan_options }} ${{ inputs.preload }} ci/run_tests.sh
6+
run: ci/run_tests.sh
147
shell: bash -el {0}
158

169
- name: Publish test results

.github/workflows/unit-tests.yml

-14
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ jobs:
9696
- name: "Pyarrow Nightly"
9797
env_file: actions-311-pyarrownightly.yaml
9898
pattern: "not slow and not network and not single_cpu"
99-
- name: "ASAN / UBSAN"
100-
env_file: actions-311-sanitizers.yaml
101-
pattern: "not slow and not network and not single_cpu and not skip_ubsan"
102-
asan_options: "ASAN_OPTIONS=detect_leaks=0"
103-
preload: LD_PRELOAD=$(gcc -print-file-name=libasan.so)
104-
meson_args: --config-settings=setup-args="-Db_sanitize=address,undefined"
105-
cflags_adds: -fno-sanitize-recover=all
106-
pytest_workers: -1 # disable pytest-xdist as it swallows stderr from ASAN
10799
fail-fast: false
108100
name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
109101
env:
@@ -190,18 +182,12 @@ jobs:
190182
- name: Test (not single_cpu)
191183
uses: ./.github/actions/run-tests
192184
if: ${{ matrix.name != 'Pypy' }}
193-
with:
194-
preload: ${{ matrix.preload }}
195-
asan_options: ${{ matrix.asan_options }}
196185
env:
197186
# Set pattern to not single_cpu if not already set
198187
PATTERN: ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}
199188

200189
- name: Test (single_cpu)
201190
uses: ./.github/actions/run-tests
202-
with:
203-
preload: ${{ matrix.preload }}
204-
asan_options: ${{ matrix.asan_options }}
205191
env:
206192
PATTERN: 'single_cpu'
207193
PYTEST_WORKERS: 0

ci/deps/actions-311-sanitizers.yaml

-32
This file was deleted.

0 commit comments

Comments
 (0)