DEV: Profile RSpec tests in tests workflow ()

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

@ -235,11 +235,11 @@ jobs:
- name: Core RSpec - name: Core RSpec
if: matrix.build_type == 'backend' && matrix.target == 'core' 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 - name: Plugin RSpec
if: matrix.build_type == 'backend' && matrix.target == 'plugins' 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 - name: Plugin QUnit
if: matrix.build_type == 'frontend' && matrix.target == 'plugins' if: matrix.build_type == 'frontend' && matrix.target == 'plugins'