From f332cd1f2e207c92d8d5b4577b0812113a2e1b71 Mon Sep 17 00:00:00 2001 From: David Zuelke Date: Thu, 7 Mar 2024 17:01:50 +0100 Subject: [PATCH] Write runtime log to test/var/log/ It's where it belongs really (gets .gitignore-d there, too). --- .github/workflows/ci.yml | 2 +- .rspec_parallel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73827b9a61..d5485d7c6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,4 +58,4 @@ jobs: - name: Execute tests run: bundle exec parallel_rspec --group-by runtime --first-is-1 --unknown-runtime 1 --allowed-missing 100 --runtime-log "test/var/log/parallel_runtime_rspec.${STACK}.log" --verbose-command --combine-stderr --prefix-output-with-test-env-number test/spec/ - name: Print parallel_runtime_rspec.log - run: cat parallel_runtime_rspec.log | grep -E '^test/spec/[a-z0-9_/\.-]+\.rb:[0-9]+\.[0-9]+$' | sort + run: cat test/var/log/parallel_runtime_rspec.log | grep -E '^test/spec/[a-z0-9_/\.-]+\.rb:[0-9]+\.[0-9]+$' | sort diff --git a/.rspec_parallel b/.rspec_parallel index 32dcd0b4fe..414e937720 100644 --- a/.rspec_parallel +++ b/.rspec_parallel @@ -1,2 +1,2 @@ --format progress ---format ParallelTests::RSpec::RuntimeLogger --out parallel_runtime_rspec.log +--format ParallelTests::RSpec::RuntimeLogger --out test/var/log/parallel_runtime_rspec.log