Fix percentile-based auto-scaling when there are nans in the map. #6
Workflow file for this run
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: Build and Test using pip (PR) | |
on: | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Need to clone everything to determine version from git. | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
cache-dependency-path: "setup.cfg" | |
- name: Build and install | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install pytest | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
python -m pip install . | |
- name: Run tests | |
run: | | |
cd tests | |
pytest |