This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
Update README.md #49
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
name: Ensure Code Formatting | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
conda install python=3.8 | |
python -m pip install pycodestyle autopep8 | |
python -m pip install -r requirements.txt | |
python -m pip install -e . | |
- name: Check Errors | |
run: | | |
pycodestyle --statistics --count --max-line-length=150 --show-source . |