Skip to content

mwm_tess_rgb.py, mwm_planet.py, mwm_magcloud_agb.py: use cadence brig… #1167

mwm_tess_rgb.py, mwm_planet.py, mwm_magcloud_agb.py: use cadence brig…

mwm_tess_rgb.py, mwm_planet.py, mwm_magcloud_agb.py: use cadence brig… #1167

Workflow file for this run

# 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: Python application
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Setup
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install numpy
pip install .
- name: Lint with flake8
run: |
pip install flake8
flake8 . --count --show-source --statistics
- name: Lint with isort
run: |
pip install isort
isort -c python/ bin/