@@ -117,7 +117,7 @@ jobs:
117
117
- name : Set core dump file pattern
118
118
run : |
119
119
echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
120
-
120
+
121
121
ulimit -c unlimited
122
122
python3.10 -c "import ctypes;ctypes.string_at(0)" || true
123
123
ls core.*
@@ -126,48 +126,56 @@ jobs:
126
126
- name : Run unit tests
127
127
run : |
128
128
ulimit -c unlimited
129
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
129
130
.venv/bin/pytest -sv test/cunit
130
131
131
132
- name : Run functional Austin tests (with sudo)
132
133
run : |
133
134
ulimit -c unlimited
135
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
134
136
sudo -E env PATH="$PATH" .venv/bin/pytest --pastebin=failed -svr a test/functional -k "not austinp"
135
137
if : always()
136
138
137
139
- name : Run functional Austin tests (without sudo)
138
140
run : |
139
141
ulimit -c unlimited
142
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
140
143
.venv/bin/pytest --pastebin=failed -svr a test/functional -k "not austinp"
141
144
if : always()
142
145
143
146
- name : Run functional austinp tests (with sudo)
144
147
run : |
145
148
ulimit -c unlimited
149
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
146
150
sudo -E env PATH="$PATH" .venv/bin/pytest --pastebin=failed -svr a test/functional -k "austinp"
147
151
if : always()
148
152
149
153
- name : Run functional austinp tests (without sudo)
150
154
run : |
151
155
ulimit -c unlimited
156
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
152
157
.venv/bin/pytest --pastebin=failed -svr a test/functional -k "austinp"
153
158
if : always()
154
159
155
160
- name : Run integrity tests (with sudo)
156
161
run : |
157
162
ulimit -c unlimited
163
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
158
164
sudo -E env PATH="$PATH" .venv/bin/pytest --pastebin=failed -svr a test/integrity
159
165
if : always()
160
166
161
167
- name : Run integrity tests (without sudo)
162
168
run : |
163
169
ulimit -c unlimited
170
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
164
171
.venv/bin/pytest --pastebin=failed -svr a test/integrity
165
172
if : always()
166
173
167
174
- name : Run support tests
168
175
run : |
169
176
ulimit -c unlimited
170
- .venv/bin/pytest -sv test/support
177
+ echo "core.%p" | sudo tee /proc/sys/kernel/core_pattern
178
+ sudo -E env PATH="$PATH" .venv/bin/pytest -sv test/support
171
179
if : always()
172
180
173
181
wheels-linux :
0 commit comments