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.
This commit is contained in:
Phil Krylov
2023-11-14 22:27:51 +01:00
parent 6bbb31e540
commit 3939012c27
2 changed files with 15 additions and 3 deletions

View File

@@ -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