chore: update ruby versions list #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master, github-action ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
if: "!contains(toJSON(github.event.commits.*.message), '[skip-ci]')" | |
name: Test on ruby ${{ matrix.ruby-version }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
ruby-version: [2.3.0, 2.3.8, 2.4.0, 2.4.10, 2.5.0, 2.5.9, 2.6.0, 2.6.7, 2.7.0, 2.7.3, 3.0.0, head] | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: ruby tests/e2e/run_all_tests.rb | |
- name: Notification | |
if: always() | |
id: slack | |
uses: wingify/[email protected] | |
with: | |
channel-id: 'vwo-fs-fme-sdk-job-status' # 'fs-review-team' | |
slack-message: "<!here> Ruby FME SDK Test on *Ruby-${{ matrix.ruby-version }}* and *${{ matrix.os }}* got *${{job.status}}* ${{job.status == 'success' && ':heavy_check_mark:' || ':x:'}} \nCommit: `${{github.event.head_commit.message}}`. \nCheck the latest build: https://github.com/wingify/vwo-fme-ruby-sdk/actions" | |
color: "${{job.status == 'success' && '#00FF00' || '#FF0000'}}" | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} |