Skip to content

Commit

Permalink
ci(windows): time out the WebView2 install after 5 minutes (#4981)
Browse files Browse the repository at this point in the history
It typically takes about 1 minute to run in CI. We don't have any leads
on fixing this issue, and it may be a regression in a recent release of
WebView2. #4935
  • Loading branch information
ReactorScram committed May 13, 2024
1 parent 6735665 commit 7bf1003
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: ./.github/actions/setup-rust
id: setup-rust
- uses: ./.github/actions/setup-tauri
timeout-minutes: 5
- uses: taiki-e/install-action@cargo-udeps
- run: |
rustup install --no-self-update nightly-2024-03-26 --profile minimal # The exact nightly version doesn't matter, just pin a random one.
Expand Down Expand Up @@ -63,6 +64,7 @@ jobs:
- uses: ./.github/actions/setup-rust
id: setup-rust
- uses: ./.github/actions/setup-tauri
timeout-minutes: 5
- run: cargo test --all-features ${{ steps.setup-rust.outputs.packages }} -- --include-ignored
env:
# <https://github.com/rust-lang/cargo/issues/5999>
Expand Down Expand Up @@ -100,6 +102,7 @@ jobs:
# Cache needs to be scoped per OS version
key: ${{ matrix.runs-on }}-${{ runner.arch }}
- uses: ./.github/actions/setup-tauri
timeout-minutes: 5
- name: pnpm install
run: |
pnpm install
Expand Down Expand Up @@ -130,6 +133,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-rust
- uses: ./.github/actions/setup-tauri
timeout-minutes: 5
- run: scripts/tests/${{ matrix.test }}.sh
name: "test script"
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
# Cache needs to be scoped per OS version
key: ${{ matrix.runs-on }}-${{ runner.arch }}
- uses: ./.github/actions/setup-tauri
timeout-minutes: 5
- name: Install pnpm deps
run: pnpm install
- name: Install AzureSignTool
Expand Down

0 comments on commit 7bf1003

Please sign in to comment.