Skip to content

Commit a69acc5

Browse files
authored
Update valgrind suppressions (#2655)
Update valgrind suppressions and run cron-jobs on develop branch.
1 parent 391c680 commit a69acc5

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/test_valgrind.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,16 @@ jobs:
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131

32-
- uses: actions/checkout@v4
32+
- name: Checkout code (scheduled)
33+
if: github.event_name == 'schedule'
34+
uses: actions/checkout@v4
35+
with:
36+
ref: develop
37+
38+
- name: Checkout code (manual, push, pull request)
39+
if: github.event_name != 'schedule'
40+
uses: actions/checkout@v4
41+
3342
- run: git fetch --prune --unshallow
3443

3544
- name: Install apt dependencies

python/tests/valgrind-python.supp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,3 +1036,17 @@
10361036
fun:_PyObject_MakeTpCall
10371037
fun:_PyEval_EvalFrameDefault
10381038
}
1039+
1040+
{
1041+
?
1042+
Memcheck:Leak
1043+
match-leak-kinds: definite
1044+
fun:*alloc
1045+
...
1046+
fun:setup_readline
1047+
fun:PyInit_readline
1048+
fun:_PyImport_LoadDynamicModuleWithSpec
1049+
fun:_imp_create_dynamic_impl
1050+
fun:_imp_create_dynamic
1051+
...
1052+
}

0 commit comments

Comments
 (0)