updated CI & render #23
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: CI argofloats | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest,macos-latest,ubuntu-latest] | |
python-version: [3.8,3.9] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies (Windows) | |
continue-on-error: true | |
run: | |
python -m pip install --upgrade pip | |
pip install -U pip setuptools | |
pip install pipwin==0.5.0 | |
pip install wheel pandas numpy | |
if: matrix.os == 'windows-latest' | |
- name: Install Dependencies (Mac) | |
continue-on-error: true | |
run: | |
brew install gdal | |
if: matrix.os == 'macos-latest' | |
- name: Test package | |
run: | | |
python setup.py install | |
argofloats -h | |
argofloats platform-profiles --pid 2902755 |