From c51328f0d03b8674de9840c655826b64d24d78b1 Mon Sep 17 00:00:00 2001 From: "Maarten A. Breddels" Date: Mon, 17 May 2021 11:50:32 +0200 Subject: [PATCH] ci: run lint separately --- .github/workflows/build.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95a439dc..9fc53e8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,26 @@ defaults: shell: bash -l {0} jobs: + lint: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup conda + uses: conda-incubator/setup-miniconda@v2 + with: + activate-environment: ipyvolume-test + environment-file: environment-test.yml + python-version: ${{ matrix.python-version }} + mamba-version: "*" + auto-activate-base: false + channels: conda-forge + + - name: Python PEP8 check + run: flake8 ipyvolume + build: runs-on: ubuntu-latest steps: @@ -51,9 +71,6 @@ jobs: - name: Validate the labextension run: jupyter labextension list 2>&1 | grep ipyvolume - - name: Python PEP8 check - run: flake8 ipyvolume - # - name: JavaScript prettyfier # run: | # yarn install