Skip to content

Conversation

@danielhollas
Copy link
Collaborator

@danielhollas danielhollas commented Nov 17, 2025

Seems like the "workaround" has stopped workarounding and instead started breaking the job so let's remove it! Also added a Slack notification step so that we notice such breakage earlier in the future.

if: >-
always() &&
(steps.install.outcome == 'failure' || steps.tests.outcome == 'failure') &&
failure() &&
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a better way to express what we need: run this step iff any of the previous steps failed.

https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#failure

@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.61%. Comparing base (49af7f0) to head (2711bce).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7103      +/-   ##
==========================================
+ Coverage   79.61%   79.61%   +0.01%     
==========================================
  Files         566      566              
  Lines       43546    43546              
==========================================
+ Hits        34663    34666       +3     
+ Misses       8883     8880       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielhollas danielhollas mentioned this pull request Nov 17, 2025
@danielhollas danielhollas changed the title CI: Add Slack notification to install-with-conda-job CI: Fix install-with-conda job Nov 17, 2025
channels: conda-forge

# Use mamba because conda is running out of memory
# see https://github.com/conda-incubator/setup-miniconda/issues/274
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer necessary since conda now uses libmamba solver by default.

conda config --set solver libmamba
# Temporary workaround: https://github.com/mamba-org/mamba/issues/488
- run: rm /usr/share/miniconda/pkgs/cache/*.json
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This step started failing. I haven't investigated too deeply, but simply removing this seems to work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from:
6da1333

Using conda now thus probably makes this unnecessary.

@danielhollas danielhollas marked this pull request as ready for review November 17, 2025 09:19
Copy link
Contributor

@GeigerJ2 GeigerJ2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the explanations in the comments, very helpful.

@danielhollas danielhollas merged commit 0dcd10a into main Nov 21, 2025
63 of 64 checks passed
@danielhollas danielhollas deleted the fix-test-install branch November 21, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants