Skip to content

Conversation

@boegel
Copy link
Member

@boegel boegel commented Jul 5, 2021

The relative order of test_list_easyblocks and test_xxx_include_easyblocks_from_pr was changed in #3730 when test_xxx_include_easyblocks_from_pr was renamed to test_github_xxx_include_easyblocks_from_pr , but this broke test_list_easyblocks when the tests that require a GitHub token are being run (not for PRs, only after a PR is merged).

Simplest fix is to rename test_list_easyblocks to test_000_list_easyblocks to ensure it's run first, since cleaning up the easyblock that get imported by test_github_xxx_include_easyblocks_from_pr is not trivial...

This fixes the failing test in #3764 (which only happens there because no "external" branch is involved, the tests that require a GitHub token are run in that case).

@boegel boegel added the bug fix label Jul 5, 2021
@boegel boegel added this to the next release (4.4.1) milestone Jul 5, 2021
@boegel boegel mentioned this pull request Jul 5, 2021
Copy link
Member

@branfosj branfosj left a comment

Choose a reason for hiding this comment

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

lgtm

@branfosj branfosj enabled auto-merge July 5, 2021 12:17
@branfosj branfosj merged commit e9f8447 into easybuilders:develop Jul 5, 2021
@boegel boegel deleted the fix_test_list_easyblocks branch July 5, 2021 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants