Skip to content

Commit

Permalink
Add check valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricereix committed Oct 29, 2024
1 parent fa5068f commit 1ed92a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 7 additions & 0 deletions bin/check/valgrind.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -Eeuo pipefail

cat <<END | cargo valgrind run -p hurl -- --test
GET https://unpkg.com/[email protected]/dist/vue.global.prod.js
HTTP 200
END

0 comments on commit 1ed92a8

Please sign in to comment.