File tree Expand file tree Collapse file tree 3 files changed +48
-4
lines changed Expand file tree Collapse file tree 3 files changed +48
-4
lines changed Original file line number Diff line number Diff line change 1+ # This workflow runs continuous CI across different versions of ruby on all branches and pull requests to develop.
2+
3+ name : CI
4+
5+ # Controls when the action will run.
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the develop branch
8+ push :
9+ branches : [ '**' ]
10+ pull_request :
11+ branches : [ develop ]
12+ workflow_dispatch :
13+
14+ jobs :
15+ tests :
16+ name : Ruby ${{ matrix.ruby }}
17+ if : " contains(github.event.commits[0].message, '[ci skip]') == false"
18+ runs-on : ubuntu-latest
19+ env :
20+ CI : true
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ ruby :
25+ - 2.4
26+ - 2.5
27+ - 2.6
28+ - 2.7
29+ - ruby-head
30+ - jruby
31+ steps :
32+ - name : Clone repository
33+ uses : actions/checkout@v2
34+ - name : Set up Ruby
35+ uses : ruby/setup-ruby@v1
36+ with :
37+ ruby-version : ${{ matrix.ruby }}
38+ - name : Install dependencies
39+ run : bundle install --jobs 4 --retry 3
40+ - name : Run tests
41+ run : bundle exec rspec spec
42+
Original file line number Diff line number Diff line change 22JSON-LD with preloaded contexts.
33
44[ ![ Gem Version] ( https://badge.fury.io/rb/json-ld-preloaded.png )] ( https://badge.fury.io/rb/json-ld-preloaded )
5- [ ![ Build Status] ( https://secure.travis-ci.org/ruby-rdf/json-ld-preloaded.png?branch=master )] ( https://travis-ci.org/ruby-rdf/json-ld-preloaded )
5+ [ ![ Build Status] ( https://github.com/ruby-rdf/json-ld-preloaded/workflows/CI/badge.svg?branch=develop )] ( https://github.com/ruby-rdf/json-ld-preloaded/actions?query=workflow%3ACI )
6+ [ ![ Coverage Status] ( https://coveralls.io/repos/ruby-rdf/json-ld-preloaded/badge.svg )] ( https://coveralls.io/github/ruby-rdf/json-ld-preloaded )
7+ [ ![ Gitter chat] ( https://badges.gitter.im/ruby-rdf/rdf.png )] ( https://gitter.im/ruby-rdf/rdf )
68
79## Features
810
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ Gem::Specification.new do |gem|
1919 gem . require_paths = %w( lib )
2020 gem . test_files = Dir . glob ( 'spec/**/*.rb' ) + Dir . glob ( 'spec/test-files/*' )
2121
22- gem . required_ruby_version = '>= 2.2.2 '
22+ gem . required_ruby_version = '>= 2.4 '
2323 gem . requirements = [ ]
2424 gem . add_runtime_dependency 'rdf' , '~> 3.1'
2525 gem . add_runtime_dependency 'json-ld' , '~> 3.1'
26- gem . add_development_dependency 'rspec' , '~> 3.9 '
27- gem . add_development_dependency 'yard' , '~> 0.9.20 '
26+ gem . add_development_dependency 'rspec' , '~> 3.10 '
27+ gem . add_development_dependency 'yard' , '~> 0.9'
2828
2929 gem . post_install_message = nil
3030end
You can’t perform that action at this time.
0 commit comments