Skip to content

Remove micromamba from the CIs #338

Remove micromamba from the CIs

Remove micromamba from the CIs #338

Workflow file for this run

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 ]
# Oldest one based on NEP-29 and latest one.
# See https://numpy.org/neps/nep-0029-deprecation_policy.html
numpy-version: ["1.23", "1.26"]
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 numpy=${{ matrix.numpy-version }}
&& python -m pip install -e .
- name: Tests
run: |
python -m pytest -s -rxs -v gsw/tests