From 3939012c27dd521c1cdde752d8b200219860f857 Mon Sep 17 00:00:00 2001 From: Phil Krylov Date: Tue, 14 Nov 2023 22:27:51 +0100 Subject: [PATCH] 2023-11-14 22:27 UTC+0100 Phil Krylov (phil a t krylov.eu) * .github/workflows/linux-ci.yml * On Linux CI workflow, run tests with Valgrind. + Added contrib/hbsqlit3/tests/backup.prg as a test. --- .github/workflows/linux-ci.yml | 13 ++++++++++--- ChangeLog.txt | 5 +++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index 99f7208e40..ef26f99aa0 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -28,6 +28,7 @@ jobs: - name: Install packages run: | sudo apt-get install -qq \ + valgrind \ libncurses-dev \ libslang2-dev \ libx11-dev \ @@ -106,6 +107,12 @@ jobs: - name: Run tests run: | - echo ::group::Run tests - set -ex - bin/linux/${{matrix.compiler}}/hbtest + echo ::group::Run tests + set -ex + VALGRIND="valgrind --error-exitcode=1" + + $VALGRIND bin/linux/${{matrix.compiler}}/hbtest + + cd contrib/hbsqlit3/tests + ../../../bin/linux/${{matrix.compiler}}/hbmk2 backup.prg + $VALGRIND ./backup diff --git a/ChangeLog.txt b/ChangeLog.txt index efd3d4a601..d27bec227a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,11 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2023-11-14 22:27 UTC+0100 Phil Krylov (phil a t krylov.eu) + * .github/workflows/linux-ci.yml + * On Linux CI workflow, run tests with Valgrind. + + Added contrib/hbsqlit3/tests/backup.prg as a test. + 2023-11-13 23:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! typo in comment