mirror of
https://github.com/we-promise/sure.git
synced 2026-05-30 07:49:01 +00:00
test: add CI system test timing reporter
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -168,7 +168,17 @@ jobs:
|
||||
bin/rails db:seed
|
||||
|
||||
- name: System tests
|
||||
run: DISABLE_PARALLELIZATION=true bin/rails test:system
|
||||
run: DISABLE_PARALLELIZATION=true CI_SYSTEM_TEST_TIMING=true bin/rails test:system
|
||||
|
||||
- name: Upload system test timing artifacts
|
||||
uses: actions/upload-artifact@v6
|
||||
if: always()
|
||||
with:
|
||||
name: system-test-timing
|
||||
path: |
|
||||
${{ github.workspace }}/tmp/ci/system_test_timing.json
|
||||
${{ github.workspace }}/tmp/ci/system_test_timing.md
|
||||
if-no-files-found: ignore
|
||||
|
||||
- name: Keep screenshots from failed system tests
|
||||
uses: actions/upload-artifact@v6
|
||||
|
||||
Reference in New Issue
Block a user