Expand CI nodes (#19073)

This commit is contained in:
Mac Siri 2023-02-06 15:15:26 -05:00 committed by GitHub
parent 2566654f5a
commit cb3b12feaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 10 deletions

View file

@ -11,7 +11,7 @@ on:
jobs:
RSpec:
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 10
env:
COVERAGE: true
RAILS_ENV: test
@ -37,8 +37,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ci_node_total: [6]
ci_node_index: [0, 1, 2, 3, 4, 5]
ci_node_total: [9]
ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8]
steps:
- uses: actions/checkout@v3
@ -61,7 +61,6 @@ jobs:
run: bin/knapsack_pro_rspec
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
flags: ruby
- name: Upload test results to BuildPulse for flaky test detection
if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.
@ -75,7 +74,7 @@ jobs:
Jest:
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 10
env:
RAILS_ENV: test
NODE_ENV: test
@ -105,13 +104,12 @@ jobs:
secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
flags: javascript
- run: yarn build-storybook
Build-test:
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 10
env:
RAILS_ENV: test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/Forem_prod_test
@ -158,7 +156,7 @@ jobs:
Cypress:
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 10
env:
RAILS_ENV: test
DATABASE_URL_TEST: postgres://postgres:postgres@localhost:5432/Forem_test
@ -180,8 +178,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ci_node_total: [6]
ci_node_index: [0, 1, 2, 3, 4, 5, non-seed]
ci_node_total: [9]
ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7, 8, non-seed]
steps:
- uses: actions/checkout@v3

View file

@ -1,3 +1,8 @@
codecov:
notify:
after_n_builds: 10
comment:
after_n_builds: 10
ignore:
- "vendor"
- "bin"