Skip to content

Commit

Permalink
Test conda-incubator/setup-miniconda@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
panbingkun committed Jan 13, 2025
1 parent 3f86455 commit 31220a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -600,17 +600,17 @@ jobs:
done
- name: Install Conda for pip packaging test
if: contains(matrix.modules, 'pyspark-errors')
run: |
curl -s -L "https://github.com/conda-forge/miniforge/releases/download/24.11.2-1/Miniforge3-Linux-x86_64.sh" > miniforge3.sh
bash miniforge3.sh -b -p $HOME/miniforge3
rm miniforge3.sh
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
installation-dir: $HOME/miniforge-latest
# Run the tests.
- name: Run tests
env: ${{ fromJSON(inputs.envs) }}
shell: 'script -q -e -c "bash {0}"'
run: |
if [[ "$MODULES_TO_TEST" == *"pyspark-errors"* ]]; then
export PATH=$PATH:$HOME/miniforge3/bin
export PATH=$PATH:$HOME/miniforge-latest/bin
env
which conda
export SKIP_PACKAGING=false
Expand Down

0 comments on commit 31220a6

Please sign in to comment.