Skip to content

Commit

Permalink
Write runtime log to test/var/log/
Browse files Browse the repository at this point in the history
It's where it belongs really (gets .gitignore-d there, too).
  • Loading branch information
dzuelke committed Mar 7, 2024
1 parent e722337 commit f332cd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .rspec_parallel
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f332cd1

Please sign in to comment.