Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
axelpontetto committed Nov 29, 2024
1 parent 9816217 commit febd060
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ jobs:
./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: LS Before
uses: ./.github/actions/docker-run
with:
run: "ls -R -a app/assets"
- name: Setup Database
run: docker run -v ${{ github.workspace }}:/src/app --network host -e RAILS_ENV=test -e PARALLEL_TEST_FIRST_IS_1=true api_base/test:latest bundle exec rake parallel:create parallel:migrate
- name: Check for untracked changes in schema.rb
Expand All @@ -186,17 +190,7 @@ jobs:
id: cpu_info
run: echo "cpu_cores=$(nproc)" >> $GITHUB_ENV

- name: Run Tests Test
env:
KNAPSACK_CI_NODE_TOTAL: ${{ matrix.ci_node_total }}
KNAPSACK_CI_NODE_INDEX: ${{ matrix.ci_node_index }}
PARALLEL_TESTS_CONCURRENCY: ${{ env.cpu_cores }}
HEADLESS: true
CI: true
SELENIUM_BROWSER_HOST: http://chrome-server:4444
SELENIUM_BROWSER: remote
POSTGRES_HOST: db
RAILS_ENV: test
- name: LS After
uses: ./.github/actions/docker-run
with:
run: "ls -R -a app/assets"
Expand Down

0 comments on commit febd060

Please sign in to comment.