Make sure entity/detached_enitity/model are used properly in various … #163
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 and Rubocop | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
name: RSpec and Rubocop | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.ruby_version }} | |
bundler-cache: true | |
- name: Run rspec | |
run: bundle exec rspec | |
# - name: Upload coverage directory | |
# if: always() | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: coverage-report | |
# path: coverage/ | |
- name: Run rubocop | |
run: bundle exec rubocop |