Skip to content

Commit 58a9ddd

Browse files
WillAydpmhatre1
authored andcommitted
CI: Remove ASAN job (pandas-dev#57886)
* Try removing subprocess call in conftest * empty bytes * try non-editable * Revert "try non-editable" This reverts commit 2f9316d. * Revert "empty bytes" This reverts commit 7f50043. * Revert "Try removing subprocess call in conftest" This reverts commit 31ad407. * Remove ASAN job * revert more
1 parent 3cbba46 commit 58a9ddd

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
@@ -68,14 +68,6 @@ jobs:
6868
- name: "Pyarrow Nightly"
6969
env_file: actions-311-pyarrownightly.yaml
7070
pattern: "not slow and not network and not single_cpu"
71-
- name: "ASAN / UBSAN"
72-
env_file: actions-311-sanitizers.yaml
73-
pattern: "not slow and not network and not single_cpu and not skip_ubsan"
74-
asan_options: "ASAN_OPTIONS=detect_leaks=0"
75-
preload: LD_PRELOAD=$(gcc -print-file-name=libasan.so)
76-
meson_args: --config-settings=setup-args="-Db_sanitize=address,undefined"
77-
cflags_adds: -fno-sanitize-recover=all
78-
pytest_workers: -1 # disable pytest-xdist as it swallows stderr from ASAN
7971
fail-fast: false
8072
name: ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
8173
env:
@@ -161,18 +153,12 @@ jobs:
161153
- name: Test (not single_cpu)
162154
uses: ./.github/actions/run-tests
163155
if: ${{ matrix.name != 'Pypy' }}
164-
with:
165-
preload: ${{ matrix.preload }}
166-
asan_options: ${{ matrix.asan_options }}
167156
env:
168157
# Set pattern to not single_cpu if not already set
169158
PATTERN: ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}
170159

171160
- name: Test (single_cpu)
172161
uses: ./.github/actions/run-tests
173-
with:
174-
preload: ${{ matrix.preload }}
175-
asan_options: ${{ matrix.asan_options }}
176162
env:
177163
PATTERN: 'single_cpu'
178164
PYTEST_WORKERS: 0

ci/deps/actions-311-sanitizers.yaml

-32
This file was deleted.

0 commit comments

Comments
 (0)