From 4a07e3e348405a988e29494db8d5915f88f59dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammet=20Dilma=C3=A7?= Date: Mon, 12 Jul 2021 08:32:10 +0300 Subject: [PATCH] Add Gitlab CI support --- .gitlab-ci.yml | 13 +++++++++++++ README.md | 1 + 2 files changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml 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