Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpontetto committed Dec 5, 2024
1 parent 5cb875a commit 6074a52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ jobs:
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
# - name: Let Rails generate the secret_key_base
# run: bundle exec rails runner 'puts Rails.application.secret_key_base'
- name: Let Rails generate the secret_key_base
run: bundle exec rails runner 'puts Rails.application.secret_key_base'
- name: Get CPU info
id: cpu_info
run: echo "cpu_cores=$(nproc)" >> $GITHUB_ENV
Expand Down Expand Up @@ -207,6 +207,7 @@ jobs:
HEADLESS: true
SELENIUM_BROWSER_HOST: http://chrome-server:4444
SELENIUM_BROWSER: remote
COVERAGE: true
uses: ./.github/actions/docker-run
with:
run: bundle exec parallel_rspec -n $PARALLEL_TESTS_CONCURRENCY -e './bin/parallel_tests'
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ RUN bundle install -j 4

COPY --link . .

# Let Rails generate the secret_key_base
RUN ./bin/rails runner 'puts Rails.application.secret_key_base'
RUN ./bin/rails assets:precompile
RUN yarn build

# Entrypoint prepares the database.
ENTRYPOINT ["./bin/docker-entrypoint"]
Expand Down

0 comments on commit 6074a52

Please sign in to comment.