Skip to content

[5/5] Use skipTest rather than faulty copy-paste of return conditions: Skip marker for GitHub tests 2 - #5266

Open
Flamefire wants to merge 7 commits into
easybuilders:developfrom
Flamefire:skip-markers-5
Open

Flamefire wants to merge 7 commits into
easybuilders:developfrom
Flamefire:skip-markers-5

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

Extracted from #4188

@Flamefire
Flamefire force-pushed the skip-markers-5 branch 5 times, most recently from 1f86249 to 099a05a Compare September 3, 2026 12:20
@boegel boegel changed the title [5/5] Use skipTest than faulty C&P of return conditions: Skip marker for GitHub tests 2 [5/5] Use skipTest rather than faulty copy-paste of return conditions: Skip marker for GitHub tests 2 Sep 9, 2026
The pip-installable pysvn is incomplete and the full one is not easy to install.
For PRs silently skip the tests when no token is available else use a skip.
On GHA force enable the tests when the source repo is 'easybuilds' so a
token is expected to be available.
As that is used a lot use that for better describing the purpose.
Successful output looks like this
> ...............................................s......................................................................................
> ...................................................................................................................
> ----------------------------------------------------------------------
> Ran 946 tests in 714.512s
>
> OK (skipped=3)

We only care about the part until "Ran xxx tests" not including the divider (dashes).
Also we can ignore any lines with just "s" and ".".
Simply return if `$TEST_EASYBUILD_MODULES_TOOL` is not set to Lmod.
This avoids any "skip" output on CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants