diff --git a/.github/workflows/jruby.yml b/.github/workflows/jruby.yml new file mode 100644 index 0000000..5fe128e --- /dev/null +++ b/.github/workflows/jruby.yml @@ -0,0 +1,30 @@ +name: jruby +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + 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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c1e07d..64fbfac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: 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: - uses: actions/checkout@v2 - name: Set up Ruby @@ -32,28 +32,6 @@ jobs: run: bundle install - name: Run tests 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: runs-on: ubuntu-18.04 steps: diff --git a/.github/workflows/truffle_ruby.yml b/.github/workflows/truffle_ruby.yml new file mode 100644 index 0000000..06b324b --- /dev/null +++ b/.github/workflows/truffle_ruby.yml @@ -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 diff --git a/README.md b/README.md index 2dab0c7..e45d986 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # OmniAuth: Standardized Multi-Provider Authentication [![Gem Version](http://img.shields.io/gem/v/omniauth.svg)][gem] -[![Build Status](http://img.shields.io/travis/omniauth/omniauth.svg)][travis] +[![Build Status](https://github.com/omniauth/omniauth/actions/workflows/main.yml/badge.svg)][githubactions] [![Code Climate](https://api.codeclimate.com/v1/badges/ffd33970723587806744/maintainability)][codeclimate] [![Coverage Status](http://img.shields.io/coveralls/omniauth/omniauth.svg)][coveralls] [gem]: https://rubygems.org/gems/omniauth -[travis]: http://travis-ci.org/omniauth/omniauth +[githubactions]: https://github.com/omniauth/omniauth/actions/workflows/main.yml [codeclimate]: https://codeclimate.com/github/omniauth/omniauth [coveralls]: https://coveralls.io/r/omniauth/omniauth