File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ on :
5+ push :
6+ branches : [ '**' ]
7+ pull_request :
8+ branches : [ develop ]
9+ workflow_dispatch :
10+
11+ jobs :
12+ tests :
13+ name : Ruby ${{ matrix.ruby }}
14+ if : " contains(github.event.commits[0].message, '[ci skip]') == false"
15+ runs-on : ubuntu-latest
16+ env :
17+ CI : true
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ ruby :
22+ - 2.4
23+ - 2.5
24+ - 2.6
25+ - 2.7
26+ - ruby-head
27+ - jruby
28+ mongodb-version :
29+ - 4.4
30+ steps :
31+ - name : Clone repository
32+ uses : actions/checkout@v2
33+ - name : Set up Ruby
34+ uses : ruby/setup-ruby@v1
35+ with :
36+ ruby-version : ${{ matrix.ruby }}
37+ - name : Install dependencies
38+ run : bundle install --jobs 4 --retry 3
39+
40+ - name : Start MongoDB
41+ uses : supercharge/mongodb-github-action@1.3.0
42+ with :
43+ mongodb-version : ${{ matrix.mongodb-version }}
44+ - name : Run tests
45+ run : bundle exec rspec spec
46+
Original file line number Diff line number Diff line change 33This is an [ RDF.rb] [ ] storage adapter for MongoDB.
44
55[ ![ Gem Version] ( https://badge.fury.io/rb/rdf-mongo.png )] ( https://badge.fury.io/rb/rdf-mongo )
6- [ ![ Build Status] ( https://travis-ci.org/ruby-rdf/rdf-mongo.png?branch=master )] ( https://travis-ci.org/ruby-rdf/rdf-mongo )
6+ [ ![ Build Status] ( https://github.com/ruby-rdf/rdf-mongo/workflows/CI/badge.svg?branch=develop )] ( https://github.com/ruby-rdf/rdf-mongo/actions?query=workflow%3ACI )
7+ [ ![ Gitter chat] ( https://badges.gitter.im/ruby-rdf/rdf.png )] ( https://gitter.im/ruby-rdf/rdf )
78
89## Versioning and backwards compatibility
910
Original file line number Diff line number Diff line change @@ -28,12 +28,10 @@ Gem::Specification.new do |gem|
2828 gem . required_ruby_version = '>= 2.4'
2929 gem . requirements = [ ]
3030 gem . add_runtime_dependency 'rdf' , '>= 3.1'
31- gem . add_runtime_dependency 'mongo' , '~> 2.11 '
31+ gem . add_runtime_dependency 'mongo' , '~> 2.14 '
3232
3333 gem . add_development_dependency 'rdf-spec' , '>= 3.1'
34- gem . add_development_dependency 'rspec' , '~> 3.9 '
34+ gem . add_development_dependency 'rspec' , '~> 3.10 '
3535 gem . add_development_dependency 'rspec-its' , '~> 1.3'
36- gem . add_development_dependency 'yard' , '~> 0.9.20'
37-
38- gem . post_install_message = "Have fun! :)"
36+ gem . add_development_dependency 'yard' , '~> 0.9'
3937end
You can’t perform that action at this time.
0 commit comments