Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions linting-and-non-system-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ runs:
uses: actions/cache/restore@v5
with:
path: tmp/turbo_rspec_runtime.log
key: parallel-spec-non-system-runtimes-${{ github.sha }}_${{ github.run_attempt }}
restore-keys: parallel-spec-non-system-runtimes-
key: parallel-spec-non-system-runtimes-${{ github.head_ref || github.ref_name }}-${{ github.sha }}
restore-keys: |
parallel-spec-non-system-runtimes-${{ github.head_ref || github.ref_name }}-
parallel-spec-non-system-runtimes-

- name: Setup Parallel Databases
shell: bash
Expand All @@ -68,9 +70,16 @@ runs:
shell: bash
run: bundle exec parallel_rspec --verbose --exclude-pattern "/system/"

- name: Save Turbo-Test Runtime Stats
if: always()
uses: actions/cache/save@v5
with:
path: tmp/turbo_rspec_runtime.log
key: parallel-spec-non-system-runtimes-${{ github.head_ref || github.ref_name }}-${{ github.sha }}

- name: Publish Test Results
uses: mikepenz/action-junit-report@v6
if: success() || failure()
if: always()
with:
check_name: Test Results
report_paths: tmp/rspec-*.xml
Expand Down
15 changes: 12 additions & 3 deletions system-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ runs:
uses: actions/cache/restore@v5
with:
path: tmp/turbo_rspec_runtime.log
key: parallel-spec-system-runtimes-${{ github.sha }}_${{ github.run_attempt }}
restore-keys: parallel-spec-system-runtimes-
key: parallel-spec-system-runtimes-${{ github.head_ref || github.ref_name }}-${{ github.sha }}
restore-keys: |
parallel-spec-system-runtimes-${{ github.head_ref || github.ref_name }}-
parallel-spec-system-runtimes-

- name: Setup Parallel Databases
shell: bash
Expand All @@ -80,9 +82,16 @@ runs:
GOOGLE_CHROME_BIN: ${{ case(inputs.web-driver == 'selenium', steps.setup-chrome.outputs.chrome-path, '') }}
CAPYBARA_DRIVER: js

- name: Save Turbo-Test Runtime Stats
if: always()
uses: actions/cache/save@v5
with:
path: tmp/turbo_rspec_runtime.log
key: parallel-spec-system-runtimes-${{ github.head_ref || github.ref_name }}-${{ github.sha }}

- name: Publish Test Results
uses: mikepenz/action-junit-report@v6
if: success() || failure()
if: always()
with:
check_name: Test Results
report_paths: tmp/rspec-*.xml
Expand Down