Add sa_ct_interp and tracer_ct_interp functions to GSW-Python #347
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: [ "3.9", "3.10", "3.11", "3.12" ] | |
os: [ windows-latest, ubuntu-latest, macos-latest ] | |
# https://scientific-python.org/specs/spec-0000/ | |
numpy-version: ["==1.24", ">=2"] | |
exclude: | |
- python-version: "3.12" | |
numpy-version: "==1.24" | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install gsw | |
run: > | |
python -m pip install -r requirements-dev.txt | |
&& python -m pip install -e . | |
&& python -m pip install numpy${{ matrix.numpy-version }} | |
- name: Tests | |
run: | | |
python -m pytest -s -rxs -v gsw/tests |