Fixed size of mogi partials for case of no mogis (correct number of r… #779
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: Test | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.9", "3.10"] | |
name: Test (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
mamba-version: "*" | |
channels: conda-forge | |
activate-environment: celeri | |
environment-file: environment.yml | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
run: | | |
pip install --no-use-pep517 -e . | |
- name: Test | |
run: | | |
pytest ./tests/test_closure.py ./tests/test_okada_equals_cutde.py ./tests/test_western_north_america_dense.py | |