Skip to content

Commit

Permalink
Use 16 core GHA runners (#11948)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericboehs authored Mar 2, 2023
1 parent 2d82cfc commit a2db775
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Linting and Security
env:
BUNDLE_ENTERPRISE__CONTRIBSYS__COM: ${{ secrets.BUNDLE_ENTERPRISE__CONTRIBSYS__COM }}
runs-on: ubuntu-8-cores-latest
runs-on: ubuntu-16-cores-latest
steps:
- uses: actions/checkout@v3

Expand All @@ -33,7 +33,7 @@ jobs:
CI: true
RAILS_ENV: test
TERM: xterm-256color
runs-on: ubuntu-8-cores-latest
runs-on: ubuntu-16-cores-latest
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -77,14 +77,14 @@ jobs:
run: |
docker-compose -f docker-compose.test.yml -f docker-compose.gha.yml \
run vets-api bash \
-c "CI=true RAILS_ENV=test DISABLE_BOOTSNAP=true parallel_test -n 8 -e 'bin/rails db:reset'"
-c "CI=true RAILS_ENV=test DISABLE_BOOTSNAP=true parallel_test -n 16 -e 'bin/rails db:reset'"
- name: Run Specs
timeout-minutes: 20
run: |
docker-compose -f docker-compose.test.yml -f docker-compose.gha.yml \
run vets-api bash \
-c "CI=true DISABLE_BOOTSNAP=true bundle exec parallel_rspec spec/ modules/ -n 8 -o '--color --tty'"
-c "CI=true DISABLE_BOOTSNAP=true bundle exec parallel_rspec spec/ modules/ -n 16 -o '--color --tty'"
- name: Upload Coverage Report
uses: actions/upload-artifact@v3
Expand All @@ -105,7 +105,7 @@ jobs:
name: Publish Test Results and Coverage
if: always()
needs: [tests]
runs-on: ubuntu-8-cores-latest
runs-on: ubuntu-16-cores-latest

steps:
- uses: actions/download-artifact@v3
Expand Down

0 comments on commit a2db775

Please sign in to comment.