Hello,

after https://github.com/haproxy/haproxy/issues/2082 is resolved,
let's add ci test

Ilya
From 43f66093c25b182b22b26bd9037a9e2105e02521 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin <[email protected]>
Date: Sat, 1 Apr 2023 13:29:46 +0200
Subject: [PATCH] CI: run smoke tests on config syntax to check memory related
 issues

config syntax check seems add a value on testing code path not
covered by VTest, also checks are very fast
---
 .github/workflows/vtest.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/vtest.yml b/.github/workflows/vtest.yml
index 5137099de..25d3cc72e 100644
--- a/.github/workflows/vtest.yml
+++ b/.github/workflows/vtest.yml
@@ -140,6 +140,10 @@ jobs:
         # the '-n' soft limit to the hard limit, thus failing to run.
         ulimit -n 65536
         make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel
+    - name: Config syntax check memleak smoke testing
+      if: ${{ contains(matrix.name, 'ASAN') }}
+      run: |
+        ./haproxy -f .github/h2spec.config -c
     - name: Show VTest results
       if: ${{ failure() && steps.vtest.outcome == 'failure' }}
       run: |
-- 
2.40.0

Reply via email to