Run rubocop checks as part of CI
Some checks failed
Check usage of free licenses / check-licenses (pull_request) Failing after 40s
Run unit tests and Rubocop / unit_tests (pull_request) Failing after 1m28s
Add copyright notice / copyright_notice (pull_request) Failing after 1m39s

This commit is contained in:
Manuel Bustillo 2024-12-28 18:35:04 +01:00
parent cb10d50d9e
commit 20cca87cdd

View File

@ -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