From 38edec6538c555f8818312da893ce3d144b369dd Mon Sep 17 00:00:00 2001 From: Jeff Jennings Date: Sun, 5 Feb 2023 23:11:20 -0500 Subject: [PATCH] pre-release.yml: move linter after mpol install --- .github/workflows/pre-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index b2aac253..9816d41a 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -48,6 +48,12 @@ 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 @@ -55,12 +61,6 @@ jobs: 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: