Skip to content
Snippets Groups Projects
Commit 4b435680 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Move install tools step up and always run

parent 805ee9ae
No related branches found
No related tags found
2 merge requests!131WIP: Fix linting,!125Update CI config
......@@ -19,6 +19,12 @@ jobs:
architecture: 'x64'
- name: find trailing whitespace
uses: harupy/find-trailing-whitespace@master
- name: Install tools
if: always()
run: |
python -m pip install --upgrade pip
pip install flake8==3.9.1 pylint==2.13.8
#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run black
uses: psf/black@stable
with:
......@@ -26,11 +32,6 @@ jobs:
#options: "--check --diff"
#src: "."
version: "22.3.0"
- name: Install tools
run: |
python -m pip install --upgrade pip
pip install flake8==3.9.1 pylint==2.13.8
#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment