Rails 7.2 support #2
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
name: Tests & Standardization | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name || github.run_id }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- core | |
push: | |
branches: | |
- core | |
workflow_dispatch: | |
jobs: | |
checking: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Rubocop check | |
run: | | |
bundle exec rubocop \ | |
--extra-details \ | |
--display-only-fail-level-offenses \ | |
--fail-level warning \ | |
lib/ | |
- name: Run tests | |
run: bundle exec rspec --backtrace --profile 10 lib/**/*_spec.rb |