Skip to content

Commit

Permalink
try recording runtime data
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Nov 27, 2024
1 parent 1171201 commit e723a5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:
AWS_REGION: us-east-1
CI_NODE_TOTAL: ${{ strategy.job-total }}
CI_NODE_INDEX: ${{ strategy.job-index }}
PARALLEL_TESTS_RECORD_RUNTIME: true
MINITEST_JUNIT_REPORTER: yes
run: |
bundle exec parallel_test test \
Expand All @@ -163,6 +164,10 @@ jobs:
working-directory: tmp/starter
shell: bash

- name: ls tmp/starter/tmp
run: ls -al tmp/starter/tmp
shell: bash

- name: Test Summary
uses: test-summary/action@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@

Minitest::Reporters.use! reporters

require 'parallel_tests/test/runtime_logger' if ENV['PARALLEL_TESTS_RECORD_RUNTIME']

begin
require "bullet_train/billing/test_support"
FactoryBot.definition_file_paths << BulletTrain::Billing::TestSupport::FACTORY_PATH
Expand Down

0 comments on commit e723a5d

Please sign in to comment.