Skip to content

Commit

Permalink
Test: retry setup-build-env (#5810)
Browse files Browse the repository at this point in the history
Add two retries to setup-build-env to get around node-gyp errors that
occur periodically

### QA Notes

Tests should pass.  Process should be more stable
  • Loading branch information
testlabauto authored Dec 18, 2024
1 parent 45e1044 commit 8a2b5c2
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/test-e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,22 @@ jobs:
- name: Cache node_modules, build, extensions, and remote
uses: ./.github/actions/cache-multi-paths

- name: Setup Build and Compile
- name: Attempt 1 - Setup Build and Compile
uses: ./.github/actions/setup-build-env
continue-on-error: true

- name: Attempt 2 - Setup Build and Compile
if: ${{ failure() }}
uses: ./.github/actions/setup-build-env
continue-on-error: true

- name: Attempt 3 - Setup Build and Compile
if: ${{ failure() }}
uses: ./.github/actions/setup-build-env

- name: Fail if Retries Exhausted
if: ${{ failure() }}
run: exit 1

- name: Install Positron License
uses: ./.github/actions/install-license
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,22 @@ jobs:
- name: Cache node_modules, build, extensions, and remote
uses: ./.github/actions/cache-multi-paths

- name: Setup Build and Compile
- name: Attempt 1 - Setup Build and Compile
uses: ./.github/actions/setup-build-env
continue-on-error: true

- name: Attempt 2 - Setup Build and Compile
if: ${{ failure() }}
uses: ./.github/actions/setup-build-env
continue-on-error: true

- name: Attempt 3 - Setup Build and Compile
if: ${{ failure() }}
uses: ./.github/actions/setup-build-env

- name: Fail if Retries Exhausted
if: ${{ failure() }}
run: exit 1

- name: Install Positron License
uses: ./.github/actions/install-license
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,22 @@ jobs:
- name: Cache node_modules, build, extensions, and remote
uses: ./.github/actions/cache-multi-paths

- name: Setup Build and Compile
- name: Attempt 1 - Setup Build and Compile
uses: ./.github/actions/setup-build-env
continue-on-error: true

- name: Attempt 2 - Setup Build and Compile
if: ${{ failure() }}
uses: ./.github/actions/setup-build-env
continue-on-error: true

- name: Attempt 3 - Setup Build and Compile
if: ${{ failure() }}
uses: ./.github/actions/setup-build-env

- name: Fail if Retries Exhausted
if: ${{ failure() }}
run: exit 1

- name: Install Positron License
uses: ./.github/actions/install-license
Expand Down

0 comments on commit 8a2b5c2

Please sign in to comment.