From fcc7b5df62da432855cf2904b0ffc9d30f53422c Mon Sep 17 00:00:00 2001 From: John Date: Mon, 8 Jan 2024 21:25:02 +0100 Subject: [PATCH] where does the python version change --- .github/workflows/windows_conda_testing.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/windows_conda_testing.yaml b/.github/workflows/windows_conda_testing.yaml index 40a14c03..1c21d37b 100644 --- a/.github/workflows/windows_conda_testing.yaml +++ b/.github/workflows/windows_conda_testing.yaml @@ -20,22 +20,33 @@ jobs: python-version: 3.8 - name: Install dependencies run: | + python --version C:\Miniconda\condabin\conda.bat env update --file environment.yml --name base + python --version C:\Miniconda\condabin\conda.bat init powershell + python --version - name: Lint with flake8 run: | # Activate the base environment + python --version C:\Miniconda\condabin\conda.bat activate base + python --version C:\Miniconda\condabin\conda.bat install flake8 + python --version # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + python --version # 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 + python --version - name: Test with pytest run: | # Activate the base environment + python --version C:\Miniconda\condabin\conda.bat activate base + python --version C:\Miniconda\condabin\conda.bat install pytest pytest-cov coverage mock pip + python --version C:\Miniconda\condabin\conda.bat install -c conda-forge shapely python --version pip install --upgrade pip