Skip to content

Commit

Permalink
chore: enable all integration test to run on each PR (#6104)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahetter authored Oct 30, 2023
1 parent a1b3599 commit b72aa6c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,6 @@ jobs:
- name: Install core dependencies
run: npm ci --no-audit
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
- name: Determine which tests to run
if: '${{ !steps.release-check.outputs.IS_RELEASE }}'
uses: haya14busa/action-cond@v1
id: changed
with:
cond: ${{ github.event_name == 'pull_request' }}
if_true: '--changed=${{ github.event.pull_request.base.sha }}' # on pull requests test with the project graph only the affected tests
if_false: '' # on the base branch run all the tests as security measure
- name: Generate self-signed certificates
run: npm run certs
if: '${{!steps.release-check.outputs.IS_RELEASE}}'
Expand All @@ -85,7 +77,7 @@ jobs:
timeout_minutes: 15
max_attempts: 3
retry_on: error
command: npm run test:ci:vitest:integration -- --shard=${{ matrix.shard }} ${{ steps.changed.outputs.value }}
command: npm run test:ci:vitest:integration -- --shard=${{ matrix.shard }}
env:
# GitHub secrets are not available when running on PR from forks
# We set a flag so we can skip tests that access Netlify API
Expand Down

1 comment on commit b72aa6c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,372
  • Package size: 380 MB

Please sign in to comment.