Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
johntruckenbrodt committed Apr 12, 2024
1 parent 7a06dac commit 19c7d95
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: echo conda
- name: Set paths and variables windows
if: startsWith(matrix.os, 'windows')
run: dir "$env:CONDA\condabin"
- name: Add conda to system path
if: startsWith(matrix.os, 'windows')
run: echo "$env:CONDA\condabin" | Out-File -FilePath $env:GITHUB_PATH -Append
- name: Add conda to system path
run: |
echo "$env:CONDA\condabin" | Out-File -FilePath $env:GITHUB_PATH -Append
echo "$env:CONDA\Library\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
echo "PROJ_DATA=$env:CONDA\Library\share\proj" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Set paths and variables
if: ${{ ! startsWith(matrix.os, 'windows') }}
run: echo "$CONDA/bin" >> $GITHUB_PATH
run: |
echo "$CONDA/bin" >> $GITHUB_PATH
echo "PROJ_DATA=$CONDA/share/proj" >> $GITHUB_ENV
- name: Install dependencies
run: |
conda env update --file environment.yml --name base
echo "PROJ_DATA=$CONDA/share/proj" >> $GITHUB_ENV
- name: Lint with flake8
run: |
conda install flake8
Expand Down

0 comments on commit 19c7d95

Please sign in to comment.