Skip to content

Commit

Permalink
Merge pull request #134 from pauldmccarthy/mnt/no-cov
Browse files Browse the repository at this point in the history
Mnt/no cov
  • Loading branch information
pauldmccarthy authored Jul 25, 2023
2 parents 54d07bc + 1e9fd49 commit 676b3db
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .ci/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export CIBW_BEFORE_ALL_LINUX="yum install -y zlib-devel || apt-get install -y zl
export CIBW_ENVIRONMENT_WINDOWS="ZLIB_HOME='$ZLIB_HOME'"

# Run quick test suite on built wheels.
export CIBW_TEST_REQUIRES="cython pytest numpy nibabel"
export CIBW_TEST_REQUIRES="cython pytest numpy nibabel coverage cython-coverage pytest-cov"

# Disable pypy builds (reasons for doing this have been lost to
# history [GHA logs of failing builds deleted]).
Expand All @@ -34,9 +34,9 @@ export CIBW_TEST_SKIP="*i686* *aarch64*"
# Pytest makes it *very* awkward to run tests
# from an installed package, and still find/
# interpret a conftest.py file correctly.
echo '#!/usr/bin/env bash' > testcmd
echo 'cp $1/pyproject.toml .' >> testcmd
echo 'python -m indexed_gzip.tests -c pyproject.toml -m "not slow_test"' >> testcmd
echo '#!/usr/bin/env bash' > testcmd
echo 'cp $1/pyproject.toml .' >> testcmd
echo 'python -m indexed_gzip.tests -c pyproject.toml -m --no-cov "not slow_test"' >> testcmd
chmod a+x testcmd

export CIBW_TEST_COMMAND="bash {project}/testcmd {project}"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# `indexed_gzip` changelog


## 1.8.2 (July 25th 2023)


* Adjustment to package build process (#134).


## 1.8.1 (July 25th 2023)


Expand Down
2 changes: 1 addition & 1 deletion indexed_gzip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"""


__version__ = '1.8.1'
__version__ = '1.8.2'
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ test = [
"numpy",
"nibabel",
"coverage",
"pytest-cov"
"pytest-cov",
"cython-coverage"
]

[tool.setuptools.packages.find]
Expand Down

0 comments on commit 676b3db

Please sign in to comment.