add a directory for test log

This commit is contained in:
hyuraku 2021-04-03 19:03:35 +09:00
parent 854b898856
commit 7fbe08e857
2 changed files with 6 additions and 3 deletions

View File

@ -201,6 +201,9 @@ jobs:
- name: Install Bundler RubyGems
run: brew install-bundler-gems
- name: Create parallel test log
run: mkdir tests
- name: Run brew tests
run: |
# brew tests doesn't like world writable directories
@ -215,7 +218,7 @@ jobs:
- name: Cache parallel tests log
uses: actions/cache@v1
with:
path: parallel_runtime_rspec.log
path: tests/parallel_runtime_rspec.log
key: ${{ runner.os }}-parallel_runtime_rspec.log
restore-keys: ${{ runner.os }}-parallel_runtime_rspec.log

View File

@ -99,7 +99,7 @@ module Homebrew
end
parallel_rspec_log_path = if ENV["CI"]
"parallel_runtime_rspec.log"
"tests/parallel_runtime_rspec.log"
else
"#{HOMEBREW_CACHE}/tests/parallel_runtime_rspec.log"
end