adapt for python ins/uns #69
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: py style | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
branches: [ develop, master ] | |
workflow_dispatch: | |
jobs: | |
autopep8: | |
name: autopep8 style check | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: checkout software | |
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 style (autopep8 style check)' | |
id: check | |
run: | | |
make style -C software |