Merge pull request #2304 from ministryofjustice/update-review-date-an… #6331
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 tests | |
env: | |
RUBY_VERSION: 3.1.0 | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
rspec-test: | |
name: RSpec | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.RUBY_VERSION }} | |
bundler-cache: true | |
- run: bundle install | |
- name: Install simplecov | |
run: | | |
gem install simplecov | |
- name: Run tests | |
run: bundle exec rspec | |
- name: Run depedency audit | |
run: | | |
bundle exec bundler-audit |