forked from ontoportal/goo
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from ontoportal-lirmm/development
Merge development & upstream (2022-12)
- Loading branch information
Showing
9 changed files
with
145 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Ruby Unit Test | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby-version: ['2.7'] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Dependencies | ||
run: sudo apt-get -y install raptor2-utils | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
- name: Start backend services via docker-compose | ||
run: docker compose up -d | ||
- name: Run tests | ||
run: bundle exec rake test | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: '3' | ||
|
||
services: | ||
4store: | ||
image: bde2020/4store | ||
ports: | ||
- 9000:9000 | ||
command: > | ||
bash -c "4s-backend-setup --segments 4 ontoportal_kb | ||
&& 4s-backend ontoportal_kb | ||
&& 4s-httpd -D -s-1 -p 9000 ontoportal_kb" | ||
redis: | ||
image: redis | ||
ports: | ||
- 6379:6379 | ||
healthcheck: | ||
test: redis-cli ping | ||
interval: 1s | ||
timeout: 3s | ||
retries: 30 | ||
|
||
solr: | ||
image: ontoportal/solr-ut:0.1 | ||
ports: | ||
- 8983:8983 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
Gem::Specification.new do |s| | ||
s.name = 'goo' | ||
s.version = '0.0.2' | ||
s.date = '2012-11-21' | ||
s.summary = "" | ||
s.name = "goo" | ||
s.version = "0.0.2" | ||
s.summary = "Graph Oriented Objects (GOO) for Ruby. A RDF/SPARQL based ORM." | ||
s.authors = ["Manuel Salvadores", "Paul Alexander"] | ||
s.email = 'manuelso@stanford.edu' | ||
s.files = Dir['lib/**/*.rb'] | ||
s.homepage = 'http://github.com/ncbo/goo' | ||
s.add_dependency("uuid") | ||
s.add_dependency("systemu") # remove when https://github.com/ahoward/macaddr/pull/20 is resolved | ||
s.add_dependency("rsolr") | ||
s.email = "manuelso@stanford.edu" | ||
s.files = Dir["lib/**/*.rb"] | ||
s.homepage = "http://github.com/ncbo/goo" | ||
s.add_dependency("addressable", "~> 2.8") | ||
s.add_dependency("pry") | ||
s.add_dependency("rdf", "= 1.0.8") | ||
s.add_dependency("sparql-client") | ||
s.add_dependency("addressable", "= 2.3.5") | ||
s.add_dependency("rest-client") | ||
s.add_dependency("redis") | ||
s.add_dependency("pry") | ||
s.add_dependency("rest-client") | ||
s.add_dependency("rsolr") | ||
s.add_dependency("sparql-client") | ||
s.add_dependency("uuid") | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters