Skip to content

Commit

Permalink
Add CI step for Valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Oct 19, 2021
1 parent ffbd689 commit 2e1c36a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/liquid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,19 @@ jobs:
env:
LIQUID_C_PEDANTIC: 'true'
- run: bundle exec rubocop

valgrind:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- run: sudo apt-get install -y valgrind
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('Gemfile') }}
restore-keys: ${{ runner.os }}-gems-
- run: bundle install --jobs=3 --retry=3 --path=vendor/bundle
- run: bundle exec rake test:valgrind

0 comments on commit 2e1c36a

Please sign in to comment.