Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix Ruby SDK
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Olofsson
Matrix Ruby SDK
Commits
1c36053e
Unverified
Commit
1c36053e
authored
9 months ago
by
Alexander Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Update CI yaml
parent
6c9b1411
Branches
refactoring
No related tags found
No related merge requests found
Pipeline
#140482
failed
9 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-15
10 additions, 15 deletions
.gitlab-ci.yml
with
10 additions
and
15 deletions
.gitlab-ci.yml
+
10
−
15
View file @
1c36053e
...
@@ -5,19 +5,26 @@ cache:
...
@@ -5,19 +5,26 @@ cache:
-
vendor/ruby
-
vendor/ruby
lint:rubocop
:
lint:rubocop
:
image
:
ruby
image
:
ghcr.io/ruby/
ruby
script
:
script
:
-
gem install rubocop -N
-
gem install rubocop -N
-
rubocop lib
-
rubocop lib
.
test
:
test:
unit
:
before_script
:
before_script
:
-
sed -e 's/# gem /gem /' -i Gemfile
-
sed -e 's/# gem /gem /' -i Gemfile
-
gem install bundler -N
-
gem install bundler -N
-
bundle install -j $(nproc) --path vendor
-
bundle install -j $(nproc) --path vendor
coverage
:
'
/\((\d+(?:.\d+)?)\%\)
covered/'
coverage
:
'
/\((\d+(?:.\d+)?)\%\)
covered/'
image
:
ghcr.io/ruby/ruby:$RUBY
script
:
script
:
-
GENERATE_REPORTS=true CI_REPORTS=reports bundle exec rake test
-
GENERATE_REPORTS=true CI_REPORTS=reports bundle exec rake test
parallel
:
matrix
:
-
RUBY
:
-
3.0
-
3.1
-
3.2
artifacts
:
artifacts
:
expire_in
:
1 week
expire_in
:
1 week
paths
:
paths
:
...
@@ -25,20 +32,8 @@ lint:rubocop:
...
@@ -25,20 +32,8 @@ lint:rubocop:
reports
:
reports
:
junit
:
"
reports/TEST-*.xml"
junit
:
"
reports/TEST-*.xml"
test:ruby2.7
:
extends
:
.test
image
:
"
ruby:2.7"
test:ruby3.0
:
extends
:
.test
image
:
"
ruby:3.0"
test:ruby3.1
:
extends
:
.test
image
:
"
ruby:3.1"
pages
:
pages
:
image
:
ruby
image
:
ghcr.io/ruby/
ruby
stage
:
deploy
stage
:
deploy
needs
:
[]
needs
:
[]
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment