fix test that requires scipy and raise error on invalid value for use… #1266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
env: | |
CMAKE_ARGS: -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | |
# Latest Jupyter requires this to acknowledge deprecation | |
JUPYTER_PLATFORM_DIRS: 1 | |
on: | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '.ci/**' | |
- '*.rst' | |
push: | |
branches: | |
- main | |
- develop | |
- beta/* | |
paths-ignore: | |
- 'doc/**' | |
- '.ci/**' | |
- '*.rst' | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.python-version }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- run: make cov | |
- uses: AndreMiras/coveralls-python-action@develop |