README fix & WebMock tweaks #134
Workflow file for this run
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
# We can dogfood the Github action but using it within our own Github action | |
# for this repository | |
name: Testing | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
rspec: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler: default | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bundle exec rspec specs/ | |
# Using the current repo to perform coverage analysis | |
- uses: joshmfrankel/simplecov-check-action@main | |
with: | |
minimum_suite_coverage: 85 | |
minimum_file_coverage: 70 | |
github_token: ${{ secrets.GITHUB_TOKEN }} |