Skip to content

Commit

Permalink
clean up CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
swiknaba authored Dec 27, 2023
1 parent 0bc66e8 commit 17961d0
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Test
on: [push]
jobs:
test:
name: ${{ matrix.ruby }} / ${{ matrix.gemfile }}
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"

strategy:
fail-fast: false
matrix:
Expand All @@ -23,18 +29,13 @@ jobs:
gemfile: gemfiles/rubocop_1.8.gemfile
- ruby: 3.3
gemfile: gemfiles/rubocop_1.8.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"

steps:
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run Test
- name: Run Tests
run: bundle exec rake

0 comments on commit 17961d0

Please sign in to comment.