File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 15
15
PACKAGE_NAME : dpnp
16
16
CHANNELS : ' -c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels'
17
17
TEST_ENV_NAME : test
18
- RERUN_TESTS_ON_FAILURE : ' true'
19
18
RUN_TESTS_MAX_ATTEMPTS : 2
20
19
21
20
jobs :
@@ -94,14 +93,14 @@ jobs:
94
93
python -c "import dpnp; print(dpnp.__version__)"
95
94
96
95
- name : Run tests
97
- if : env.RERUN_TESTS_ON_FAILURE != 'true'
96
+ id : run_tests
98
97
run : |
99
98
python -m pytest -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
100
99
env :
101
100
SYCL_CACHE_PERSISTENT : 1
102
101
103
102
- name : ReRun tests on Linux
104
- if : env.RERUN_TESTS_ON_FAILURE == 'true ' && matrix.runner != 'windows-2019'
103
+ if : steps.run_tests.outcome == 'failure ' && matrix.runner != 'windows-2019'
105
104
id : run_tests_linux
106
105
uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
107
106
with :
@@ -118,7 +117,7 @@ jobs:
118
117
SYCL_CACHE_PERSISTENT : 1
119
118
120
119
- name : ReRun tests on Windows
121
- if : env.RERUN_TESTS_ON_FAILURE == 'true ' && matrix.runner == 'windows-2019'
120
+ if : steps.run_tests.outcome == 'failure ' && matrix.runner == 'windows-2019'
122
121
id : run_tests_win
123
122
uses : nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
124
123
with :
You can’t perform that action at this time.
0 commit comments