Skip to content

Commit

Permalink
Merge pull request #139 from MPoL-dev/pre_release_workflow_reorder
Browse files Browse the repository at this point in the history
pre-release.yml: move linter after mpol install
  • Loading branch information
iancze authored Feb 6, 2023
2 parents db59a7c + 38edec6 commit 60e869a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
- name: Install vanilla package
run: |
pip install .
- name: Install test deps
run: |
pip install .[test]
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Install vanilla package
run: |
pip install .
- name: Install test deps
run: |
pip install .[test]
- name: Cache/Restore the .mpol folder cache
uses: actions/cache@v3
env:
Expand Down

0 comments on commit 60e869a

Please sign in to comment.