mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Merge pull request #1065 from omniauth/new-CI-workflows
Separate jruby and truffle ruby workflows
This commit is contained in:
commit
1df974b78c
4 changed files with 63 additions and 25 deletions
30
.github/workflows/jruby.yml
vendored
Normal file
30
.github/workflows/jruby.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
name: JRuby
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu, macos]
|
||||||
|
jruby: [jruby] # TODO: Add back jruby-head once we figure out why there's a bundler mismatch
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: ${{ matrix.jruby }}
|
||||||
|
bundler-cache: true
|
||||||
|
- name: Install dependencies
|
||||||
|
env:
|
||||||
|
JRUBY_OPTS: --debug
|
||||||
|
run: bundle install
|
||||||
|
- name: Run tests
|
||||||
|
env:
|
||||||
|
JRUBY_OPTS: --debug
|
||||||
|
run: bundle exec rake
|
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu, macos]
|
os: [ubuntu, macos]
|
||||||
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, head, debug, truffleruby, truffleruby-head]
|
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, head, debug]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Ruby
|
- name: Set up Ruby
|
||||||
|
@ -32,28 +32,6 @@ jobs:
|
||||||
run: bundle install
|
run: bundle install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: bundle exec rake
|
run: bundle exec rake
|
||||||
test-jruby:
|
|
||||||
runs-on: ubuntu-18.04
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu, macos]
|
|
||||||
jruby: [jruby] # TODO: Add back jruby-head once we figure out why there's a bundler mismatch
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.jruby }}
|
|
||||||
bundler-cache: true
|
|
||||||
- name: Install dependencies
|
|
||||||
env:
|
|
||||||
JRUBY_OPTS: --debug
|
|
||||||
run: bundle install
|
|
||||||
- name: Run tests
|
|
||||||
env:
|
|
||||||
JRUBY_OPTS: --debug
|
|
||||||
run: bundle exec rake
|
|
||||||
frozen-string-compat:
|
frozen-string-compat:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
|
|
26
.github/workflows/truffle_ruby.yml
vendored
Normal file
26
.github/workflows/truffle_ruby.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: TruffleRuby
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu, macos]
|
||||||
|
ruby: [truffleruby, truffleruby-head]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: ${{ matrix.ruby }}
|
||||||
|
bundler-cache: true
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bundle install
|
||||||
|
- name: Run tests
|
||||||
|
run: bundle exec rake
|
|
@ -1,12 +1,16 @@
|
||||||
# OmniAuth: Standardized Multi-Provider Authentication
|
# OmniAuth: Standardized Multi-Provider Authentication
|
||||||
|
|
||||||
[][gem]
|
[][gem]
|
||||||
[][travis]
|
[][githubactions]
|
||||||
|
[](githubactionstruffle)
|
||||||
|
[](githubactionsjruby)
|
||||||
[][codeclimate]
|
[][codeclimate]
|
||||||
[][coveralls]
|
[][coveralls]
|
||||||
|
|
||||||
[gem]: https://rubygems.org/gems/omniauth
|
[gem]: https://rubygems.org/gems/omniauth
|
||||||
[travis]: http://travis-ci.org/omniauth/omniauth
|
[githubactions]: https://github.com/omniauth/omniauth/actions/workflows/main.yml
|
||||||
|
[githubactionstruffle]: https://github.com/omniauth/omniauth/actions/workflows/truffle_ruby.yml
|
||||||
|
[githubactionsjruby]: https://github.com/omniauth/omniauth/actions/workflows/jruby.yml
|
||||||
[codeclimate]: https://codeclimate.com/github/omniauth/omniauth
|
[codeclimate]: https://codeclimate.com/github/omniauth/omniauth
|
||||||
[coveralls]: https://coveralls.io/r/omniauth/omniauth
|
[coveralls]: https://coveralls.io/r/omniauth/omniauth
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue