Skip to content
Snippets Groups Projects
Commit 9d09c7cc authored by Thibaut Girka's avatar Thibaut Girka Committed by ThibG
Browse files

Use workspace instead of caching for built assets

Tests cannot run without built assets, and we want
exactly the matching assets. This is not a cache.
parent 1bae4c4f
Branches
Tags
No related merge requests found
......@@ -81,12 +81,6 @@ aliases:
- run: ruby -e 'puts RUBY_VERSION' | tee /tmp/.ruby-version
- *restore_ruby_dependencies
- restore_cache:
keys:
- precompiled-assets-{{ .Branch }}-{{ .Revision }}
- precompiled-assets-{{ .Branch }}-
- precompiled-assets-
- run:
name: Prepare Tests
command: ./bin/rails parallel:create parallel:load_schema parallel:prepare
......@@ -128,11 +122,11 @@ jobs:
name: Precompile assets
command: ./bin/rails assets:precompile
no_output_timeout: 40m
- save_cache:
key: precompiled-assets-{{ .Branch }}-{{ .Revision }}
- persist_to_workspace:
root: ~/projects/
paths:
- ./public/assets
- ./public/packs-test/
- ./mastodon/public/assets
- ./mastodon/public/packs-test/
test-ruby2.5:
<<: *defaults
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment