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 96
96
- name : " Pyarrow Nightly"
97
97
env_file : actions-311-pyarrownightly.yaml
98
98
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
107
99
fail-fast : false
108
100
name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
109
101
env :
@@ -190,18 +182,12 @@ jobs:
190
182
- name : Test (not single_cpu)
191
183
uses : ./.github/actions/run-tests
192
184
if : ${{ matrix.name != 'Pypy' }}
193
- with :
194
- preload : ${{ matrix.preload }}
195
- asan_options : ${{ matrix.asan_options }}
196
185
env :
197
186
# Set pattern to not single_cpu if not already set
198
187
PATTERN : ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}
199
188
200
189
- name : Test (single_cpu)
201
190
uses : ./.github/actions/run-tests
202
- with :
203
- preload : ${{ matrix.preload }}
204
- asan_options : ${{ matrix.asan_options }}
205
191
env :
206
192
PATTERN : ' single_cpu'
207
193
PYTEST_WORKERS : 0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments