diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..eaa8748 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +image: ruby:3.0-slim + +cache: + paths: + - vendor/ruby + +before_script: + - ruby -v + - bundle install -j $(nproc) --path vendor + +test: + script: + - bundle exec rake test diff --git a/README.md b/README.md index d29a13a..6b01cce 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ A template for your Ruby project! * Basic project structure * Rakefile and test helper to run tests * Github Action workflow +* Gitlab CI # Set up