Update test to new tutorial structure. #196
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: autopep8 | |
on: push | |
jobs: | |
autopep8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: autopep8 | |
id: autopep8 | |
uses: peter-evans/autopep8@v1 | |
with: | |
args: --recursive --diff --aggressive --aggressive --exit-code --ignore E402 --max-line-length 120 . | |
- name: Fail if autopep8 made changes | |
if: ${{ steps.autopep8.outputs.exit-code == 2 }} | |
run: exit 1 |