Merge pull request #222 from chef/Stromweld-patch-1 #120
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
# This is a basic workflow to help you get started with Action | |
name: CI | |
# Controls when the workflow will run | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
permissions: | |
pull-requests: write | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
coverage-test: | |
name: Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up ruby 3.1 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: run specs | |
run: bundle exec rake spec --trace | |
- name: Simplecov Report | |
uses: aki77/simplecov-report-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
failedThreshold: 90 | |
resultPath: coverage/.last_run.json |