Skip to content

[🤖] Update System Tests #6487

[🤖] Update System Tests

[🤖] Update System Tests #6487

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.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!"