Skip to content

Feature/diagnostics list #53

Feature/diagnostics list

Feature/diagnostics list #53

name: Python Coding Norms
on:
push:
branches:
- develop
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
pycodestyle:
name: Check Python Coding Norms
runs-on: ubuntu-latest
steps:
# Setup Python
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
# Update conda
- name: Update conda
run: conda update -n base -c defaults conda
# Install pycodestyle
- name: Install pycodestyle
run: conda install -c conda-forge pycodestyle
# Clone the eva-gram code
- name: Clone eva-gram repo
uses: actions/checkout@v2
# Run python codestyle
- name: Run python codestyle
run: $CONDA/bin/python3 pycodestyle_run.py