DEV: Profile RSpec tests in tests workflow (#28536)

The `--profile 50` option will print the top 50 slowest tests
This commit is contained in:
Alan Guo Xiang Tan 2024-08-26 08:52:17 +08:00 committed by GitHub
parent d83ada23b9
commit ace8db23d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -235,11 +235,11 @@ jobs:
- name: Core RSpec
if: matrix.build_type == 'backend' && matrix.target == 'core'
run: bin/turbo_rspec --use-runtime-info --verbose --format documentation
run: bin/turbo_rspec --use-runtime-info --verbose --format=documentation --profile=50
- name: Plugin RSpec
if: matrix.build_type == 'backend' && matrix.target == 'plugins'
run: bin/rake plugin:turbo_spec['*','--verbose --format documentation --use-runtime-info']
run: bin/rake plugin:turbo_spec['*','--verbose --format=documentation --use-runtime-info --profile=50']
- name: Plugin QUnit
if: matrix.build_type == 'frontend' && matrix.target == 'plugins'