DEV: Run system tests with documentation and profiling on actions (#19271)

When a test takes too long, we want to know which test and at what step
This commit is contained in:
Alan Guo Xiang Tan 2022-12-01 05:54:17 +08:00 committed by GitHub
parent 7688628993
commit 5103268312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -172,11 +172,11 @@ jobs:
- name: Core System Tests
if: matrix.build_type == 'system' && matrix.target == 'core'
run: bin/system_rspec
run: bin/rspec spec/system --format documentation --profile
- name: Plugin System Tests
if: matrix.build_type == 'system' && matrix.target == 'plugins'
run: LOAD_PLUGINS=1 bin/system_rspec plugins/*/spec/system
run: LOAD_PLUGINS=1 bin/rspec plugins/*/spec/system
- name: Upload failed system test screenshots
uses: actions/upload-artifact@v3