From c2a79208b17c17d023b949133287f3ceee6e383d Mon Sep 17 00:00:00 2001 From: Bo Wun Cheng <31534602+bobcheng15@users.noreply.github.com> Date: Fri, 19 Apr 2024 13:07:58 -0700 Subject: [PATCH] Revert " fix CI " --- .github/workflows/python-package-conda.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 09d25ca7..055a945b 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -14,6 +14,10 @@ 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 @@ -38,7 +42,7 @@ jobs: done < ${GITHUB_WORKSPACE}/scripts/tensor_names/suitesparse_ci.txt - name: Lint with flake8 run: | - pip install flake8 + conda 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 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide