Skip to content

Commit

Permalink
Remove TEST_SCOPE to run all tests in public CI (#2152)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-perevezentsev authored Nov 6, 2024
1 parent 687b8ea commit 0bcd49d
Showing 1 changed file with 4 additions and 52 deletions.
56 changes: 4 additions & 52 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,54 +19,6 @@ env:
RERUN_TESTS_ON_FAILURE: 'true'
RUN_TESTS_MAX_ATTEMPTS: 2
TEST_ENV_NAME: 'test'
TEST_SCOPE: >-
test_absolute.py
test_amin_amax.py
test_arithmetic.py
test_arraycreation.py
test_arraymanipulation.py
test_arraypad.py
test_bitwise.py
test_copy.py
test_counting.py
test_fft.py
test_fill.py
test_flat.py
test_histogram.py
test_indexing.py
test_linalg.py
test_logic.py
test_manipulation.py
test_mathematical.py
test_mixins.py
test_nanfunctions.py
test_ndarray.py
test_outer.py
test_product.py
test_random_state.py
test_search.py
test_sort.py
test_special.py
test_statistics.py
test_sum.py
test_sycl_queue.py
test_umath.py
test_usm_type.py
third_party/cupy/core_tests
third_party/cupy/fft_tests
third_party/cupy/creation_tests
third_party/cupy/indexing_tests
third_party/cupy/lib_tests
third_party/cupy/linalg_tests
third_party/cupy/logic_tests
third_party/cupy/manipulation_tests
third_party/cupy/math_tests
third_party/cupy/padding_tests
third_party/cupy/sorting_tests
third_party/cupy/statistics_tests/test_histogram.py
third_party/cupy/statistics_tests/test_meanvar.py
third_party/cupy/test_ndim.py
third_party/cupy/test_type_routines.py
VER_JSON_NAME: 'version.json'
VER_SCRIPT1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
VER_SCRIPT2: "d = j['dpnp'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
Expand Down Expand Up @@ -263,7 +215,7 @@ jobs:
- name: Run tests
if: env.RERUN_TESTS_ON_FAILURE != 'true'
run: |
python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
python -m pytest -q -ra --disable-warnings -vv .
working-directory: ${{ env.tests-path }}

- name: Run tests
Expand All @@ -279,7 +231,7 @@ jobs:
. $CONDA/etc/profile.d/conda.sh
conda activate ${{ env.TEST_ENV_NAME }}
cd ${{ env.tests-path }}
python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
python -m pytest -q -ra --disable-warnings -vv .
test_windows:
name: Test ['windows-2019', python='${{ matrix.python }}']
Expand Down Expand Up @@ -418,7 +370,7 @@ jobs:
- name: Run tests
if: env.RERUN_TESTS_ON_FAILURE != 'true'
run: |
python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
python -m pytest -q -ra --disable-warnings -vv .
working-directory: ${{ env.tests-path }}

- name: Run tests
Expand All @@ -433,7 +385,7 @@ jobs:
command: >-
mamba activate ${{ env.TEST_ENV_NAME }}
& cd ${{ env.tests-path }}
& python -m pytest -q -ra --disable-warnings -vv ${{ env.TEST_SCOPE }}
& python -m pytest -q -ra --disable-warnings -vv .
upload:
name: Upload ['${{ matrix.os }}', python='${{ matrix.python }}']
Expand Down

0 comments on commit 0bcd49d

Please sign in to comment.