Skip to content

Commit

Permalink
github: actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahut committed Sep 24, 2021
1 parent df2e2b5 commit 8767958
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/actions.yml
@@ -0,0 +1,24 @@
name: Test Ruby SDK

on: [ push ]

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [2.7.x, 2.6.x, 2.5.x, 3.0.x]
env:
BF_TESTNET_PROJECT_ID: ${{secrets.BF_TESTNET_PROJECT_ID}}
BF_MAINNET_PROJECT_ID: ${{secrets.BF_MAINNET_PROJECT_ID}}
BF_IPFS_PROJECT_ID: ${{secrets.BF_IPFS_PROJECT_ID}}
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: bundle exec rake

0 comments on commit 8767958

Please sign in to comment.