-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into pnomolos/better_t…
…ransparency_for_temporalness
- Loading branch information
Showing
31 changed files
with
364 additions
and
114 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,82 @@ | ||
name: Ruby specs | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
name: Ruby specs | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
db: | ||
image: postgres:12 | ||
ports: ['5432:5432'] | ||
env: | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
|
||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
strategy: | ||
matrix: | ||
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0'] | ||
gemfile: [ rails_5.0, rails_5.1, rails_5.2, rails_6.0, rails_6.1 ] | ||
experimental: [false] | ||
|
||
exclude: | ||
- ruby-version: '2.3' | ||
gemfile: rails_6.0 | ||
- ruby-version: '2.3' | ||
gemfile: rails_6.1 | ||
- ruby-version: '2.4' | ||
gemfile: rails_6.0 | ||
- ruby-version: '2.4' | ||
gemfile: rails_6.1 | ||
- ruby-version: '2.6' | ||
gemfile: rails_5.0 | ||
- ruby-version: '2.6' | ||
gemfile: rails_5.1 | ||
- ruby-version: '2.7' | ||
gemfile: rails_5.0 | ||
- ruby-version: '2.7' | ||
gemfile: rails_5.1 | ||
- ruby-version: '2.7' | ||
gemfile: rails_5.2 | ||
- ruby-version: '3.0' | ||
gemfile: rails_5.0 | ||
- ruby-version: '3.0' | ||
gemfile: rails_5.1 | ||
- ruby-version: '3.0' | ||
gemfile: rails_5.2 | ||
|
||
env: | ||
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile | ||
TEST_CONFIG: ./spec/config.github.yml | ||
|
||
continue-on-error: ${{ matrix.experimental }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Database | ||
run: | | ||
psql -c "CREATE ROLE runner SUPERUSER LOGIN CREATEDB;" -U postgres -h localhost | ||
psql -c "CREATE DATABASE chronomodel;" -U postgres -h localhost | ||
psql -c "CREATE DATABASE chronomodel_railsapp;" -U postgres -h localhost | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
bundler-cache: true | ||
- name: Run specs and publish code coverage | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: dedfb7472ee410eec459bff3681d9a8fd8dd237e9bd7e8675a7c8eb7e253bba9 | ||
with: | ||
coverageCommand: bundle exec rake |
This file was deleted.
Oops, something went wrong.
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
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,6 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "activerecord", "~> 6.1.0" | ||
gem "rails", "~> 6.1.0" | ||
|
||
gemspec :path => "../" |
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
Oops, something went wrong.