File tree 3 files changed +1
-54
lines changed
3 files changed +1
-54
lines changed Original file line number Diff line number Diff line change 1
1
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
9
2
runs :
10
3
using : composite
11
4
steps :
12
5
- name : Test
13
- run : ${{ inputs.asan_options }} ${{ inputs.preload }} ci/run_tests.sh
6
+ run : ci/run_tests.sh
14
7
shell : bash -el {0}
15
8
16
9
- name : Publish test results
Original file line number Diff line number Diff line change 68
68
- name : " Pyarrow Nightly"
69
69
env_file : actions-311-pyarrownightly.yaml
70
70
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
79
71
fail-fast : false
80
72
name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
81
73
env :
@@ -161,18 +153,12 @@ jobs:
161
153
- name : Test (not single_cpu)
162
154
uses : ./.github/actions/run-tests
163
155
if : ${{ matrix.name != 'Pypy' }}
164
- with :
165
- preload : ${{ matrix.preload }}
166
- asan_options : ${{ matrix.asan_options }}
167
156
env :
168
157
# Set pattern to not single_cpu if not already set
169
158
PATTERN : ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}
170
159
171
160
- name : Test (single_cpu)
172
161
uses : ./.github/actions/run-tests
173
- with :
174
- preload : ${{ matrix.preload }}
175
- asan_options : ${{ matrix.asan_options }}
176
162
env :
177
163
PATTERN : ' single_cpu'
178
164
PYTEST_WORKERS : 0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments