Skip to content

Commit cc58539

Browse files
Add separate job for full types
1 parent ceb6ccd commit cc58539

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/conda-package.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,11 @@ jobs:
173173
python -c "import dpnp; print(dpnp.__version__)"
174174
175175
- name: Run tests
176-
env:
177-
DPNP_TEST_ALL_TYPES: 1
178176
if: env.RERUN_TESTS_ON_FAILURE != 'true'
179177
run: |
180178
python -m pytest -n auto -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
181179
182180
- name: Run tests
183-
env:
184-
DPNP_TEST_ALL_TYPES: 1
185181
if: env.RERUN_TESTS_ON_FAILURE == 'true'
186182
id: run_tests_linux
187183
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
@@ -196,6 +192,13 @@ jobs:
196192
197193
python -m pytest -n auto -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
198194
195+
- name: Run full tests
196+
if: matrix.python == '3.12'
197+
env:
198+
DPNP_TEST_ALL_TYPES: 1
199+
run: |
200+
pytest -n auto -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
201+
199202
test_windows:
200203
name: Test ['windows-2019', python='${{ matrix.python }}']
201204

@@ -313,25 +316,28 @@ jobs:
313316
python -c "import dpnp; print(dpnp.__version__)"
314317
315318
- name: Run tests
316-
env:
317-
DPNP_TEST_ALL_TYPES: 1
318319
if: env.RERUN_TESTS_ON_FAILURE != 'true'
319320
run: |
320321
pytest -n auto -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
321322
322323
- name: Run tests
323-
env:
324-
DPNP_TEST_ALL_TYPES: 1
325324
if: env.RERUN_TESTS_ON_FAILURE == 'true'
326325
id: run_tests_win
327326
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3.0.0
328327
with:
329-
timeout_minutes: 45
328+
timeout_minutes: 15
330329
max_attempts: ${{ env.RUN_TESTS_MAX_ATTEMPTS }}
331330
retry_on: any
332331
command: |
333332
python -m pytest -n auto -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
334333
334+
- name: Run full tests
335+
if: matrix.python == '3.12'
336+
env:
337+
DPNP_TEST_ALL_TYPES: 1
338+
run: |
339+
pytest -n auto -ra --pyargs ${{ env.PACKAGE_NAME }}.tests
340+
335341
upload:
336342
name: Upload ['${{ matrix.os }}', python='${{ matrix.python }}']
337343

0 commit comments

Comments
 (0)