Skip to content

DEBUG-3558 DI: chunk snapshot payloads #7193

DEBUG-3558 DI: chunk snapshot payloads

DEBUG-3558 DI: chunk snapshot payloads #7193

name: Test for memory leaks
on: # yamllint disable-line rule:truthy
push:
branches:
- master
pull_request:
branches:
- master
# Default permissions for all jobs
permissions: {}
jobs:
test-memcheck:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
with:
ruby-version: 3.4.1
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: gem update --system 3.5.23 # TODO: This is a workaround for a buggy rubygems in 3.4.0-preview2; remove once stable version 3.4 is out
- run: bundle exec rake compile spec:profiling:memcheck
complete:
name: Test for memory leaks (complete)
runs-on: ubuntu-24.04
needs:
- test-memcheck
steps:
- run: echo "DONE!"