We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe5408 commit 9ace261Copy full SHA for 9ace261
1 file changed
.github/workflows/build.yml
@@ -24,6 +24,7 @@ jobs:
24
COMPOSE_FILE: docker-compose.yml:docker-compose.ci.yml
25
DOCKER_APP_IMAGE: ${{ needs.docker-build.outputs.image }}
26
RUN_TESTS: "false"
27
+ RUN_RUBOCOP: "false"
28
steps:
29
- name: Checkout code
30
uses: actions/checkout@v6
@@ -51,7 +52,7 @@ jobs:
51
52
docker compose exec -e RAILS_ENV=test app rspec --format progress --format html --out artifacts/rspec.html
53
54
- name: Run Rubocop
- if: ${{ always() }}
55
+ if: ${{ always() && env.RUN_RUBOCOP == 'true' }}
56
run: |
57
docker compose exec -e RAILS_ENV=test app rubocop --format progress --format html --out artifacts/rubocop.html
58
0 commit comments