diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index bc72d751e20549..3cf18c504602d2 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 48c1ecc21c010b..27f8af38b824f9 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 248497041a06df..19f1a67803b579 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: