Skip to content

[🤖] Update Latest Dependency: https://github.com/DataDog/datadog-ci-r… #1607

[🤖] Update Latest Dependency: https://github.com/DataDog/datadog-ci-r…

[🤖] Update Latest Dependency: https://github.com/DataDog/datadog-ci-r… #1607

name: Test for memory leaks
on: [push]
jobs:
test-memcheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
with:
ruby-version: '3.4.5'
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