Skip to content

CI: Underscore to hyphen fix, small readability changes#346

Merged
CodeGat merged 4 commits intoapi-v2from
ci-underscore-fix
Nov 4, 2025
Merged

CI: Underscore to hyphen fix, small readability changes#346
CodeGat merged 4 commits intoapi-v2from
ci-underscore-fix

Conversation

@CodeGat
Copy link
Member

@CodeGat CodeGat commented Nov 3, 2025

Background

Currently in #332, packages are being tested for compliance for changes in spack v1.
One of those changes is that the directory structure has changed, and package directories should have _ rather than - (so they are valid python modules). They are then converted back into their --style packages for spack.

However, this means that the CI has been failing, because it has been using the _ package directories as package names, which doesn't work.

I've also added some readability fixes to the matrix, so the name of the package comes first, rather than the filepath.

The PR

  • Replace _ from package directory name with - for package names in template_value
  • Swap filepath and template_value in matrix, so the package name is more visible in the CI on the web
  • Also update paths to api-v2 format (I had missed the workflow_dispatch case!)

@CodeGat CodeGat added bug Something isn't working priority:high build-ci-tests Relating to build-ci's manifest tests labels Nov 3, 2025
@CodeGat CodeGat self-assigned this Nov 3, 2025
@CodeGat CodeGat requested a review from harshula November 4, 2025 05:02
@CodeGat CodeGat requested a review from harshula November 4, 2025 22:29
@CodeGat CodeGat merged commit 6c204f4 into api-v2 Nov 4, 2025
@CodeGat CodeGat deleted the ci-underscore-fix branch November 4, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build-ci-tests Relating to build-ci's manifest tests priority:high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants