Merge pull request #60 from imagekit-developer/SDK-94 #247
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 Test | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby 2.6 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.6.5 | |
bundler: 2.4.22 | |
- name: Build and test with Rake | |
run: | | |
gem install bundler -v 2.4.22 | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake | |
# - name: Upload code coverage reports to codecov | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# token: 58fd7bff-e88e-4f23-b940-811b12f20dcf # not required for public repos | |
# # file: ./coverage.xml # optional | |
# # files: ./coverage1.xml,./coverage2.xml # optional | |
# # flags: unittests # optional | |
# # name: codecov-umbrella # optional | |
# # fail_ci_if_error: true # optional (default = false) |