Skip to content

Commit

Permalink
revmoe CI step that add conda to system path, switch to pip to instal…
Browse files Browse the repository at this point in the history
…l flake8
  • Loading branch information
bobcheng15 committed Mar 7, 2024
1 parent c7689f1 commit 2df9ff5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: 3.8.12
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
pip install --upgrade pip
Expand Down Expand Up @@ -46,7 +42,7 @@ jobs:
done < ${GITHUB_WORKSPACE}/scripts/tensor_names/suitesparse_ci.txt
- name: Lint with flake8
run: |
conda install flake8
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 --exclude venv,peak,lassen
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
Expand Down

0 comments on commit 2df9ff5

Please sign in to comment.