Fixed bug in Github action #14
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: RSpec | |
on: | |
pull_request: | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby 3.3 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` | |
bundler-cache: true # runs 'bundle install' and caches installed gems automaticallyz | |
- name: Test | |
run: bundle exec rspec -f j -o tmp/rspec_results.json -f p | |
- name: RSpec Report | |
uses: SonicGarden/rspec-report-action@v5 | |
with: | |
json-path: tmp/rspec_results.json | |
if: always() |