make unicoder #21
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: pep8 style check | |
on: | |
push: | |
branches: [ develop, main ] | |
pull_request: | |
branches: [ develop, main ] | |
workflow_dispatch: | |
jobs: | |
autopep8: | |
name: autopep8 style check | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: checkout unicoder | |
uses: actions/checkout@v2 | |
with: | |
path: software | |
- name: 'refresh install' | |
run: | | |
sudo apt-get update --fix-missing | |
- name: 'install python3 autopep8' | |
run: | | |
sudo apt-get install --fix-broken --ignore-missing python3-autopep8 | |
- name: 'make pep (autopep8 style check)' | |
id: check | |
run: | | |
make pep -C software PARALLEL= | |