Skip to content

Commit

Permalink
Revert "Revert "Remove""
Browse files Browse the repository at this point in the history
This reverts commit d7df3c7.
  • Loading branch information
mvz committed May 22, 2022
1 parent c98bd29 commit b1f3520
Showing 1 changed file with 0 additions and 95 deletions.
95 changes: 0 additions & 95 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,83 +18,6 @@ env:
JRUBY_OPTS: "--dev"

jobs:
test-ubuntu:
runs-on: ubuntu-latest

strategy:
matrix:
ruby: ["3.0", "3.1", jruby-9.2, jruby-9.3]
appraisal: [cucumber_7]
include:
- ruby: "2.5"
appraisal: cucumber_4
- ruby: "2.6"
appraisal: cucumber_5
- ruby: "2.7"
appraisal: cucumber_6
- ruby: "3.1"
appraisal: cucumber_8

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v2
with:
# NOTE: Bundler expands the path relative to the gemfile, not the
# current directory.
path: ./gemfiles/vendor/bundle
key: bundled-gems-${{ runner.os }}-ruby-${{ matrix.ruby }}-${{ matrix.appraisal }}-${{ hashFiles(env.BUNDLE_GEMFILE, '*.gemspec') }}
restore-keys: |
bundled-gems-${{ runner.os }}-ruby-${{ matrix.ruby }}-${{ matrix.appraisal }}-
bundled-gems-${{ runner.os }}-ruby-${{ matrix.ruby }}-
- name: Install gems
run: |
bundle config path vendor/bundle
bundle install --jobs 4
- name: Run specs
run: bundle exec rake spec
- name: Run cukes
run: bundle exec rake cucumber

test-macos:
strategy:
fail-fast: false
matrix:
ruby: [2.5, 2.6, 2.7, "3.0"]
appraisal: [cucumber_7]

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v2
with:
# NOTE: Bundler expands the path relative to the gemfile, not the
# current directory.
path: ./gemfiles/vendor/bundle
key: bundled-gems-${{ runner.os }}-ruby-${{ matrix.ruby }}-${{ matrix.appraisal }}-${{ hashFiles(env.BUNDLE_GEMFILE, '*.gemspec') }}
restore-keys: |
bundled-gems-${{ runner.os }}-ruby-${{ matrix.ruby }}-${{ matrix.appraisal }}-
bundled-gems-${{ runner.os }}-ruby-${{ matrix.ruby }}-
- name: Install gems
run: |
bundle config path vendor/bundle
bundle install --jobs 4
- name: Run specs
run: bundle exec rake spec
- name: Run cukes
run: bundle exec rake cucumber

test-windows:
strategy:
fail-fast: false
Expand Down Expand Up @@ -127,21 +50,3 @@ jobs:
bundle install --jobs 4
- name: Run specs
run: bundle exec rake spec

checks:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Install license_finder
run: gem install license_finder
- name: Run linters
run: bundle exec rake lint
- name: Run license_finder
run: license_finder

0 comments on commit b1f3520

Please sign in to comment.