From 885e133cac816e0151e46d724c63ece1e4883de3 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 21 Sep 2022 22:13:25 +0100 Subject: [PATCH] DEV: Cache `turbo_rspec_runtime.log` in CI (#18318) --- .github/workflows/tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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