File tree Expand file tree Collapse file tree 3 files changed +1
-54
lines changed Expand file tree Collapse file tree 3 files changed +1
-54
lines changed Original file line number Diff line number Diff line change 11name : 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
92runs :
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
Original file line number Diff line number Diff line change 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
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments