Skip to content

Commit

Permalink
Cleanup for rubocop (#50)
Browse files Browse the repository at this point in the history
* Cleanup for rubocop

* Add tests job

By [request](#50 (comment))
  • Loading branch information
silug authored Jun 6, 2024
1 parent 5a8ef9e commit 8c0d5bb
Show file tree
Hide file tree
Showing 12 changed files with 708 additions and 1,155 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ env:
BUNDLE_WITHOUT: release

jobs:
# rubocop is currently not included in Gemfile
# rubocop:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Ruby 3.1
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: "3.1"
# bundler-cache: true
# - name: Run rubocop
# run: bundle exec rake rubocop
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Ruby 3.3
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: Run rubocop
run: bundle exec rake rubocop
test:
runs-on: ubuntu-latest
strategy:
Expand All @@ -44,3 +43,12 @@ jobs:
# Currently no tests are defined in this gem
# - name: Run spec tests
# run: bundle exec rake

tests:
needs:
- rubocop
- test
runs-on: ubuntu-latest
name: Test suite
steps:
- run: echo Test suite completed
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ coverage
.bundle
.vendor
_vendor
/vendor/
tmp/
doc
# JetBrains IDEA
Expand Down
Loading

0 comments on commit 8c0d5bb

Please sign in to comment.