Merge pull request #505 from martindurant/nan-to-num #412
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: minimum-dependencies | |
on: | |
push: | |
branches: ['main'] | |
paths-ignore: ['**.md', 'docs/**'] | |
pull_request: | |
paths-ignore: ['**.md', 'docs/**'] | |
workflow_dispatch: | |
concurrency: | |
group: 'minimum-dependencies-${{ github.head_ref || github.run_id }}' | |
cancel-in-progress: true | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Install | |
run: | | |
python3 -m pip install pip build wheel pytest -U | |
python3 -m pip install -e . -vv | |
- name: Run tests | |
run: | | |
python3 -m pytest |