Skip to content

Trigger analysis

Trigger analysis #43

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [3.3.0, 3.2.2, 3.1.4, 3.0.6]
name: CI Ruby ${{ matrix.ruby }}
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install Gems
run: bundle install
- name: RSpec
run: bundle exec rspec
- name: Standard
run: bundle exec standardrb
- name: Coveralls
if: ${{ matrix.ruby == '3.3.0' }}
continue-on-error: true
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Code Climate
if: ${{ matrix.ruby == '3.3.0' }}
continue-on-error: true
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TOKEN }}
with:
coverageCommand: bundle exec rspec
coverageLocations: ${{ github.workspace }}/coverage/coverage.json:simplecov