Skip to content

Commit

Permalink
ReSetup miniconda on failure in coverage run
Browse files Browse the repository at this point in the history
  • Loading branch information
antonwolfy committed Jan 13, 2025
1 parent ab63739 commit adb04c0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/generate_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ jobs:
sudo apt-get install lcov
- name: Setup miniconda
id: setup_miniconda
continue-on-error: true
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
with:
miniforge-version: latest
use-mamba: 'true'
channels: conda-forge
conda-remove-defaults: 'true'
python-version: ${{ env.python-ver }}
activate-environment: 'coverage'

- name: ReSetup miniconda
if: steps.setup_miniconda.outcome == 'failure'
uses: conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
with:
miniforge-version: latest
Expand Down

0 comments on commit adb04c0

Please sign in to comment.