diff --git a/spec/integration/site/Gemfile b/spec/integration/site/Gemfile index ee29f33..11a10e5 100644 --- a/spec/integration/site/Gemfile +++ b/spec/integration/site/Gemfile @@ -4,6 +4,11 @@ source 'https://rubygems.org' gem 'jekyll', '~> 3.7.3' +# Note: jekyll-remote-theme download themes on each run, which makes tests +# really slow. To workaround the issue, I submitted a PR to add a cache duration +# to the download. It hasn't been merged yet, so we're using the PR fork for now +# Once https://github.com/benbalter/jekyll-remote-theme/pull/36 is merged, we'll +# be able to use the official gem gem 'jekyll-remote-theme', git: 'https://github.com/pixelastic/jekyll-remote-theme', branch: 'cache' diff --git a/spec/integration/site/_config.yml b/spec/integration/site/_config.yml index 65a71e4..9765e8b 100644 --- a/spec/integration/site/_config.yml +++ b/spec/integration/site/_config.yml @@ -2,7 +2,7 @@ collections: my-collection: output: true timezone: Europe/Paris -remote_theme: "mmistakes/minimal-mistakes" +remote_theme: "mmistakes/minimal-mistakes@4.13.0" remote_theme_cache: 3600 algolia: