Skip to content

Commit 23d0d3a

Browse files
committed
Do not run heavy tests in CI to avoid memory overflow
1 parent 81ce100 commit 23d0d3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cibuildwheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
CIBW_BUILD: 'cp38-win_amd64 cp39-win_amd64 cp310-win_amd64'
7474
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt
7575
CIBW_BEFORE_TEST: python -m pip install -r requirements-tests.txt
76-
CIBW_TEST_COMMAND: python -m pytest {project}/tests
76+
CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/tests
7777
CIBW_BUILD_VERBOSITY: 1
7878

7979
- name: Build wheels (Linux / Mac OSX)
@@ -88,7 +88,7 @@ jobs:
8888
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
8989
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt
9090
CIBW_BEFORE_TEST: python -m pip install -r requirements-tests.txt
91-
CIBW_TEST_COMMAND: python -m pytest {project}/tests
91+
CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/tests
9292
CIBW_BUILD_VERBOSITY: 1
9393

9494
- name: Upload wheels
@@ -144,7 +144,7 @@ jobs:
144144
- name: Test sdist package with pytest
145145
run: |
146146
cd ./dist/blosc2-*/
147-
python -m pytest
147+
python -m pytest -m "not heavy"
148148
149149
150150
upload_pypi:

0 commit comments

Comments
 (0)