Skip to content

Clean up date time attribute setting. #269

Clean up date time attribute setting.

Clean up date time attribute setting. #269

Workflow file for this run

name: Build and Test on macOS
on: [push, pull_request]
jobs:
build-macos:
name: Python (${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
env:
CC: gcc-12
strategy:
matrix:
os: ["macos-latest",]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install macOS Dependencies
run: |
brew install jasper libpng libaec
brew tap eengl/nceplibs
brew install nceplibs-g2c
- name: Install python dependencies via pip
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade wheel
python3 -m pip install -r requirements.txt
- name: Install grib2io and test
run: |
python --version
pip install .
pytest ./tests/