Skip to content

Commit 7e410c4

Browse files
Run all tests by --pyargs dpnp.tests in public CI
1 parent ac8ac50 commit 7e410c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ jobs:
262262
- name: Run tests
263263
if: env.RERUN_TESTS_ON_FAILURE != 'true'
264264
run: |
265-
python -m pytest -ra -v --disable-warnings --pyargs ${{ env.TEST_SCOPE }}
265+
python -m pytest -ra -v --disable-warnings --pyargs ${{ env.MODULE_NAME }}.tests
266266
working-directory: ${{ github.workspace }}
267267

268268
- name: Run tests
@@ -278,7 +278,7 @@ jobs:
278278
. $CONDA/etc/profile.d/conda.sh
279279
conda activate ${{ env.TEST_ENV_NAME }}
280280
cd ${{ github.workspace }}
281-
pytest -ra -v --disable-warnings --pyargs ${{ env.TEST_SCOPE }}
281+
pytest -ra -v --disable-warnings --pyargs ${{ env.MODULE_NAME }}.tests
282282
283283
test_windows:
284284
name: Test ['windows-2019', python='${{ matrix.python }}']
@@ -417,7 +417,7 @@ jobs:
417417
- name: Run tests
418418
if: env.RERUN_TESTS_ON_FAILURE != 'true'
419419
run: |
420-
pytest -ra -v --disable-warnings --pyargs ${{ env.TEST_SCOPE }}
420+
pytest -ra -v --disable-warnings --pyargs ${{ env.MODULE_NAME }}.tests
421421
working-directory: ${{ env.workdir }}
422422

423423
- name: Run tests
@@ -432,7 +432,7 @@ jobs:
432432
command: >-
433433
mamba activate ${{ env.TEST_ENV_NAME }}
434434
& cd ${{ env.workdir }}
435-
& pytest -ra -v --disable-warnings --pyargs ${{ env.TEST_SCOPE }}
435+
& pytest -ra -v --disable-warnings --pyargs ${{ env.MODULE_NAME }}.tests
436436
437437
upload:
438438
name: Upload ['${{ matrix.os }}', python='${{ matrix.python }}']

0 commit comments

Comments
 (0)