Merge pull request #65 from shivam091/5.12.0 #235
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Ruby ${{ matrix.ruby }} | |
runs-on: ubuntu-latest | |
env: | |
RAILS_ENV: test | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
strategy: | |
matrix: | |
ruby: | |
- "3.2.2" | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run test cases | |
run: bundle exec rake | |
- name: Publish code coverage | |
uses: paambaati/[email protected] |