diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-11 13:08:21 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-11 13:08:21 +0900 |
commit | 35adc47e7eb1640d35e4d294af7e9651d918608d (patch) | |
tree | b0ccdb395b7636a54133702cbff165c766e9a3d2 | |
parent | cf948a3d3f37c4a786611f5b48c9c020f6020161 (diff) |
Create dummy files when check only
because foo.rb in build directory breaks test-bundler
https://github.com/ruby/ruby/runs/343168046#step:20:125
-rw-r--r-- | .github/workflows/ubuntu.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index ebff9a8bd0..b8f08dcabd 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -91,6 +91,7 @@ jobs: run: | cd build ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}' + if: matrix.test_task == 'check' - name: Tests run: make -C build $JOBS -s ${{ matrix.test_task }} env: |