Add check valgrind

This commit is contained in:
Fabrice Reix 2024-10-29 14:35:20 +01:00
parent fa5068fb63
commit 86a7b6bf29
No known key found for this signature in database
GPG Key ID: BF5213154B2E7155
2 changed files with 14 additions and 0 deletions

View File

@ -100,6 +100,13 @@ jobs:
if: always()
run: bin/check/doc.sh
- name: Check Valgrind
if: always()
run: |
sudo apt-get install -y valgrind
cargo install cargo-valgrind
bin/check/valgrind.sh
- name: Check completion files
if: always()
run: |

7
bin/check/valgrind.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
set -Eeuo pipefail
cat <<END | cargo valgrind run -p hurl -- --test
GET https://unpkg.com/vue@3.4.27/dist/vue.global.prod.js
HTTP 200
END