]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: run smoke tests on config syntax to check memory related issues
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 1 Apr 2023 11:29:46 +0000 (13:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Apr 2023 16:30:52 +0000 (18:30 +0200)
config syntax check seems add a value on testing code path not
covered by VTest, also checks are very fast

.github/workflows/vtest.yml

index 5137099de8ae7c9c825089b6fba89cfa01060461..25d3cc72e9e73fe0e02908f6ed67479456fa36b0 100644 (file)
@@ -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: |