debian-mirror-gitlab/vendor/gems/bundler-checksum/.gitlab-ci.yml

25 lines
891 B
YAML
Raw Permalink Normal View History

2022-10-11 01:57:18 +05:30
workflow:
rules:
- if: $CI_MERGE_REQUEST_ID
2023-07-09 08:55:56 +05:30
rspec:
image: "ruby:${RUBY_VERSION}"
2022-10-11 01:57:18 +05:30
cache:
key: bundler-checksum
paths:
- vendor/gems/bundler-checksum/vendor/ruby
before_script:
- cd vendor/gems/bundler-checksum
- ruby -v # Print out ruby version for debugging
- gem install bundler --no-document # Bundler is not installed with the image
- bundle config set --local path 'vendor' # Install dependencies into ./vendor/ruby
- bundle config set with 'development'
- bundle config set --local frozen 'true' # Disallow Gemfile.lock changes on CI
- bundle config # Show bundler configuration
- bundle install -j $(nproc)
script:
- pushd test/project_with_checksum_lock && scripts/test
2023-07-09 08:55:56 +05:30
parallel:
matrix:
- RUBY_VERSION: ["2.7", "3.0", "3.1", "3.2"]