Skip to content

Commit

Permalink
Do not run heavy tests in CI to avoid memory overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 1, 2022
1 parent 81ce100 commit 23d0d3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cibuildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
CIBW_BUILD: 'cp38-win_amd64 cp39-win_amd64 cp310-win_amd64'
CIBW_BEFORE_BUILD: python -m pip install -r requirements.txt
CIBW_BEFORE_TEST: python -m pip install -r requirements-tests.txt
CIBW_TEST_COMMAND: python -m pytest {project}/tests
CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/tests
CIBW_BUILD_VERBOSITY: 1

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

- name: Upload wheels
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- name: Test sdist package with pytest
run: |
cd ./dist/blosc2-*/
python -m pytest
python -m pytest -m "not heavy"
upload_pypi:
Expand Down

0 comments on commit 23d0d3a

Please sign in to comment.