Skip to content

Commit b782d06

Browse files
committed
tmp
1 parent 66a24b4 commit b782d06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
done
8989
cat ${{ github.workspace }}/setup.sql | cockroach sql --insecure
9090
- name: Test
91-
run: AR_LOG=summary bundle exec rake test TESTOPTS='--profile=5 --verbose'
91+
run: AR_LOG=summary bundle exec rake test TESTOPTS='--profile=5 --verbose --name="test_assigning_enum_to_nil"'
9292
- name: Upload queries file
9393
uses: actions/upload-artifact@v3
9494
if: always()

test/support/sql_logger.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def summary_log
2121
time = detail.values.sum { |(total, _, _)| total } / 1_000
2222
count = detail.values.sum { |(_, _, count)| count }
2323
puts "Total time spent in SQL: #{time}s (#{count} queries)"
24-
puts "Detail per query kind available in tmp/query_time.json (total time in ms, avg time in ms, query count). Sorted by avg time."
24+
puts "Detail per query kind available in #{Dir.pwd}/tmp/query_time.json (total time in ms, avg time in ms, query count). Sorted by avg time."
2525
File.write(
26-
"tmp/query_time.json",
26+
Dir.pwd + "/tmp/query_time.json",
2727
JSON.pretty_generate(detail)
2828
)
2929
}

0 commit comments

Comments
 (0)