mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:04:03 +08:00
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:
parent
7688628993
commit
5103268312
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user