feat!: error if the caller invokes np.XXX on an array #1939
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: PyPI Tests | |
on: | |
push: | |
branches: ['main'] | |
paths-ignore: ['**.md', 'docs/**'] | |
pull_request: | |
paths-ignore: ['**.md', 'docs/**'] | |
workflow_dispatch: | |
concurrency: | |
group: 'pypi-tests-${{ github.head_ref || github.run_id }}' | |
cancel-in-progress: true | |
jobs: | |
pytest: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
runs-on: ${{matrix.platform}} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: setup Python ${{matrix.python-version}} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{matrix.python-version}} | |
- name: install | |
run: | | |
pip install pip wheel -U | |
pip install dask[array,dataframe,distributed,diagnostics] | |
pip install -q --no-cache-dir .[complete,test] | |
pip list | |
- name: test | |
run: | | |
python -m pytest |