diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-10 18:31:01 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <znz@users.noreply.github.com> | 2019-12-11 12:35:51 +0900 |
commit | 1ed0212bcf76ec244ca5b75c65f09e5b04158377 (patch) | |
tree | 568a56b9a14edc85d05250a261f44ca88ec2c909 /.github | |
parent | 85e43e1dfecef69b935c48c235cc20f21bd4f0d4 (diff) |
Do not load files in build directory
related https://bugs.ruby-lang.org/issues/16177
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2736
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ubuntu.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index fd3fdf7d53..8e4cff84c2 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -87,6 +87,10 @@ jobs: - name: Extract gems run: make -C build update-gems extract-gems if: matrix.test_task == 'check' + - name: Create dummy files in build dir + run: | + cd build + ./miniruby -e '(("a".."z").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}' - name: Tests run: make -C build $JOBS -s ${{ matrix.test_task }} env: |