Skip to content

Update skunk workflows #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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