Skip to content

Merge pull request #279 from DataDog/anmarchenko/use_ruby_3.4_for_ci #159

Merge pull request #279 from DataDog/anmarchenko/use_ruby_3.4_for_ci

Merge pull request #279 from DataDog/anmarchenko/use_ruby_3.4_for_ci #159

name: Test for memory leaks
on: [push]
jobs:
test-memcheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler: latest
cache-version: v2 # bump this to invalidate cache
- run: sudo apt-get update && (sudo apt-get install -y valgrind || sleep 5 && sudo apt-get install -y valgrind) && valgrind --version
- run: bundle exec rake compile spec:ddcov_memcheck