Merge pull request #11 from myponto/add-pending-transaction-object #30
This file contains 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: Ruby CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['2.6', '2.7', '3.0'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rspec | |
- name: Notify slack failure on master branch | |
if: contains(github.ref, 'master') && failure() | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
uses: voxmedia/github-action-slack-notify-build@v1.1.2 | |
with: | |
channel: ibanity-support-tech | |
status: FAILED | |
color: danger |