ruby-changes:73095
From: Benoit <ko1@a...>
Date: Mon, 29 Aug 2022 22:33:45 +0900 (JST)
Subject: [ruby-changes:73095] a319d3cfdc (master): Run specs with CHECK_LEAKS=true
https://git.ruby-lang.org/ruby.git/commit/?id=a319d3cfdc From a319d3cfdc1afef8497321fee7f690052b16739c Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Mon, 29 Aug 2022 15:32:48 +0200 Subject: Run specs with CHECK_LEAKS=true * To ensure these issues are noticed early. --- .github/workflows/compilers.yml | 2 ++ .github/workflows/spec_guards.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 1ccc5dbbc8..340dd20f57 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -257,6 +257,8 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L257 - run: make test-all TESTS='-- ruby -ext-' if: ${{ matrix.entry.check }} - run: make test-spec + env: + CHECK_LEAKS: true if: ${{ matrix.entry.check }} - run: make test-annocheck if: ${{ matrix.entry.check && endsWith(matrix.entry.name, 'annocheck') }} diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index d09f1a24d3..7bffe25bb2 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -40,6 +40,8 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/spec_guards.yml#L40 - run: gem install webrick - run: ruby ../mspec/bin/mspec working-directory: spec/ruby + env: + CHECK_LEAKS: true - uses: k0kubun/action-slack@v... with: payload: | -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/