From 95ec71efc502e93c136ac26a497c6498791e6ba6 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 14 Feb 2024 11:44:34 +0100 Subject: [PATCH] Revert "CHECK_LEAKS is always enabled with 01459f1" * This reverts commit cf8fb9429511068c69ce70da7f7818c7441c280b. * CHECK_LEAKS is no longer always enabled. --- .github/workflows/annocheck.yml | 2 ++ .github/workflows/compilers.yml | 2 ++ .github/workflows/spec_guards.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index bc72d751e2..3cf18c5046 100644 --- a/.github/workflows/annocheck.yml +++ b/.github/workflows/annocheck.yml @@ -104,6 +104,8 @@ jobs: ### test-spec doesn't work: https://github.com/ruby/ruby/actions/runs/4340193212/jobs/7578505652 # - run: make test-spec + # env: + # CHECK_LEAKS: true - run: make test-annocheck diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 48c1ecc21c..27f8af38b8 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -276,6 +276,8 @@ jobs: if: ${{ matrix.entry.check }} - run: make test-spec + env: + CHECK_LEAKS: true if: ${{ matrix.entry.check }} - run: make test-annocheck diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index 248497041a..19f1a67803 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -54,6 +54,8 @@ jobs: - run: ruby ../mspec/bin/mspec working-directory: spec/ruby + env: + CHECK_LEAKS: true - uses: ./.github/actions/slack with: