Skip to content

Commit

Permalink
add step to remove existsing conda env first
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBradford committed Nov 21, 2024
1 parent ddb208a commit a72ec3a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Remove existing Conda environment
run: |
if [ -d "/home/runner/miniconda3" ]; then
sudo rm -rf /home/runner/miniconda3
fi
- name: Install linux dependencies
run: |
sudo apt-get update
Expand All @@ -43,7 +48,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Setup Mambaforge
- name: Setup Miniforge3
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Miniforge3
Expand Down

0 comments on commit a72ec3a

Please sign in to comment.