Skip to content

Commit

Permalink
Merge pull request #104 from fastruby/update-skunk-workflow
Browse files Browse the repository at this point in the history
Update skunk workflows
  • Loading branch information
etagwerker authored Feb 14, 2023
2 parents 6a601a5 + 50c8215 commit 4754640
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .github/workflows/ci.yml
# .github/workflows/main.yml

name: CI
on:
Expand All @@ -12,7 +12,6 @@ on:
jobs:
test-ruby-2-4-x:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Ruby 2.4
Expand All @@ -24,17 +23,31 @@ jobs:
env:
BUNDLE_GEMFILE: "Gemfile-Ruby-2-4"
run: |
gem install bundler
gem install bundler -v 2.3
bundle install --jobs 4 --retry 3
bundle exec rake
test-ruby-2-5-x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby 2.5
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler -v 2.3.26
bundle install --jobs 4 --retry 3
bundle exec rake
test-ruby:
runs-on: ${{ matrix.os }}-latest

strategy:
matrix:
os: [ubuntu]
ruby-version: [2.5, 2.6, 2.7, 3.0, 3.1]

ruby-version: [2.6, 2.7, "3.0", 3.1]
steps:
- uses: actions/checkout@v2
- name: Setup Ruby ${{ matrix.ruby-version }}
Expand All @@ -44,6 +57,6 @@ jobs:
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler
gem install bundler -v 2.4.6
bundle install --jobs 4 --retry 3
bundle exec rake
7 changes: 4 additions & 3 deletions .github/workflows/skunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: 2.6
bundler-cache: true
- name: Run test suite with COVERAGE=true
run: |
gem install bundler
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## main [(unreleased)](https://github.com/fastruby/skunk/compare/v0.5.2...HEAD)

* <INSERT YOUR FEATURE OR BUGFIX HERE>
* [BUGFIX: Fix skunk workflow](https://github.com/fastruby/skunk/pull/104)
* [BUGFIX: Fix documentation and refactor `skunk_score` method](https://github.com/fastruby/skunk/pull/102)
* [FEATURE: Improve main workflow](https://github.com/fastruby/skunk/pull/99)
* [BUGFIX: Fix analized module test](https://github.com/fastruby/skunk/pull/98)
Expand Down

0 comments on commit 4754640

Please sign in to comment.