Skip to content

Commit

Permalink
Add valgrind CI task
Browse files Browse the repository at this point in the history
  • Loading branch information
kos31de committed Sep 14, 2022
1 parent 5199ff2 commit 95eb37d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yaml
Expand Up @@ -176,3 +176,18 @@ jobs:
Test outcome: ${{ steps.test.outcome }}
# every step must define a `uses` or `run` key
run: echo NOOP
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 95eb37d

Please sign in to comment.