Skip to content

feat: Added support for numeric operators in targeting and whitelis… #70

feat: Added support for numeric operators in targeting and whitelis…

feat: Added support for numeric operators in targeting and whitelis… #70

Workflow file for this run

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]
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/test_all_tests.rb
- name: Notification
if: always()
id: slack
uses: wingify/slack-github-action@v1.15.1-wingify
with:
channel-id: 'fs-review-team'
slack-message: "<!here> 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-ruby-sdk/actions"
color: "${{job.status == 'success' && '#00FF00' || '#FF0000'}}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}