Skip to content

bump version number #226

bump version number

bump version number #226

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: macOS tests
defaults:
run:
shell: bash -l {0}
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: "macos-latest"
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
# - uses: mamba-org/provision-with-micromamba@v15
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
with:
micromamba-version: '1.4.5-0'
environment-name: foo
create-args: cdo=2.2.2 nco cartopy python=3.12
init-shell: >-
bash
powershell
cache-environment: true
post-cleanup: 'all'
- name: Install dependencies
shell: bash -l {0}
run: |
pip install numpy
pip install dask
python -m pip install .
pip install xarray
# pip install .
pip install pandas
pip install rioxarray
pip install pytest
pip install pytest-cov
pip install coverage
- name: Test with pytest
shell: bash -l {0}
run: |
python testing/test_parallel.py
# use pytests without output printed
pytest tests/test*.py