Merge pull request #4093 from jeremymcs/perf/parallel-integration-tests
perf(ci): run integration tests in parallel with build
This commit is contained in:
commit
b0fa373d2b
1 changed files with 22 additions and 3 deletions
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
|
@ -157,12 +157,31 @@ jobs:
|
|||
- name: Run package tests
|
||||
run: npm run test:packages
|
||||
|
||||
- name: Run integration tests
|
||||
run: npm run test:integration
|
||||
|
||||
- name: Check test coverage thresholds
|
||||
run: npm run test:coverage
|
||||
|
||||
integration-tests:
|
||||
timeout-minutes: 15
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.docs-only != 'true'
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '24'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run integration tests
|
||||
run: npm run test:integration
|
||||
|
||||
windows-portability:
|
||||
timeout-minutes: 25
|
||||
needs: detect-changes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue