Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/check-onemath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ env:
test-env-name: 'test_onemath'
rerun-tests-on-failure: 'true'
rerun-tests-max-attempts: 2
rerun-tests-timeout: 20
rerun-tests-timeout: 30
rerun-tensor-tests-timeout: 10
rerun-tensor-tests-max-attempts: 3

jobs:
build_env_file:
Expand Down Expand Up @@ -196,8 +198,8 @@ jobs:
id: run_tensor_tests
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: ${{ env.rerun-tests-timeout }}
max_attempts: ${{ env.rerun-tests-max-attempts }}
timeout_minutes: ${{ env.rerun-tensor-tests-timeout }}
max_attempts: ${{ env.rerun-tensor-tests-max-attempts }}
retry_on: any
command: |
. $CONDA/etc/profile.d/conda.sh
Expand All @@ -221,7 +223,7 @@ jobs:
os: [ubuntu-latest] # windows-2022 - no DFT support for Windows in oneMKL

runs-on: ${{ matrix.os }}
timeout-minutes: 60
timeout-minutes: 120

defaults:
run:
Expand Down Expand Up @@ -330,8 +332,8 @@ jobs:
id: run_tensor_tests_branch
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: ${{ env.rerun-tests-timeout }}
max_attempts: ${{ env.rerun-tests-max-attempts }}
timeout_minutes: ${{ env.rerun-tensor-tests-timeout }}
max_attempts: ${{ env.rerun-tensor-tests-max-attempts }}
retry_on: any
command: |
. $CONDA/etc/profile.d/conda.sh
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/conda-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ env:
test-env-name: 'test'
rerun-tests-max-attempts: 2
rerun-tests-timeout: 45
rerun-tensor-tests-timeout: 15
rerun-tensor-tests-max-attempts: 3
# Healthy Windows tensor runs take up to ~19 min
rerun-tensor-tests-timeout-win: 20

jobs:
build:
Expand Down Expand Up @@ -285,8 +289,8 @@ jobs:
id: run_tests_tensor
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: ${{ env.rerun-tests-timeout }}
max_attempts: ${{ env.rerun-tests-max-attempts }}
timeout_minutes: ${{ runner.os == 'Windows' && env.rerun-tensor-tests-timeout-win || env.rerun-tensor-tests-timeout }}
max_attempts: ${{ env.rerun-tensor-tests-max-attempts }}
retry_on: any
shell: bash
command: |
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ env:
rerun-tests-on-failure: 'true'
rerun-tests-max-attempts: 2
rerun-tests-timeout: 45
rerun-tensor-tests-timeout: 15
rerun-tensor-tests-max-attempts: 3
# Healthy Windows tensor runs take up to ~19 min
rerun-tensor-tests-timeout-win: 20

jobs:
build:
Expand Down Expand Up @@ -153,7 +157,7 @@ jobs:
needs: build

runs-on: ${{ matrix.os }}
timeout-minutes: 100
timeout-minutes: 120

defaults:
run:
Expand Down Expand Up @@ -308,8 +312,8 @@ jobs:
id: run_tests_tensor_linux
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: ${{ env.rerun-tests-timeout }}
max_attempts: ${{ env.rerun-tests-max-attempts }}
timeout_minutes: ${{ env.rerun-tensor-tests-timeout }}
max_attempts: ${{ env.rerun-tensor-tests-max-attempts }}
retry_on: any
command: |
. $CONDA/etc/profile.d/conda.sh
Expand Down Expand Up @@ -617,8 +621,8 @@ jobs:
id: run_tests_tensor_win
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: ${{ env.rerun-tests-timeout }}
max_attempts: ${{ env.rerun-tests-max-attempts }}
timeout_minutes: ${{ env.rerun-tensor-tests-timeout-win }}
max_attempts: ${{ env.rerun-tensor-tests-max-attempts }}
retry_on: any
shell: pwsh
command: |
Expand Down
Loading