Run rubocop checks as part of CI
This commit is contained in:
parent
cb10d50d9e
commit
20cca87cdd
@ -1,4 +1,4 @@
|
||||
name: Run unit tests
|
||||
name: Run unit tests and Rubocop
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -24,6 +24,7 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: ruby/setup-ruby@v1.202.0
|
||||
- run: bundle install
|
||||
- run: bundle exec rubocop --force-exclusion --parallel
|
||||
- name: Wait until Postgres is ready to accept connections
|
||||
run: |
|
||||
apt-get update && apt-get install -f -y postgresql-client
|
||||
|
Loading…
x
Reference in New Issue
Block a user