Skip to content

A platform for community discussion. Free, open, simple.

DEV: Cache `turbo_rspec_runtime.log` in CI (#18318)

David Taylor885e133cac81
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 2e9a8bf1efc..e76e85f20d3 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -145,6 +145,14 @@ jobs:
if: steps.app-cache.outputs.cache-hit != 'true'
run: rm -rf tmp/app-cache/uploads && cp -r public/uploads tmp/app-cache/uploads
+ - name: Fetch turbo_rspec_runtime.log cache
+ uses: actions/cache@v3
+ id: test-runtime-cache
+ if: matrix.build_type == 'backend' && matrix.target == 'core'
+ with:
+ path: tmp/turbo_rspec_runtime.log
+ key: rspec-runtime-backend-core
+
- name: Core RSpec
if: matrix.build_type == 'backend' && matrix.target == 'core'
run: bin/turbo_rspec --verbose