-
Notifications
You must be signed in to change notification settings - Fork 208
Test suite improvements #3790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Test suite improvements #3790
Conversation
f3a8c53
to
593fd58
Compare
I remember something about 9d04087 So maybe the check should look for skipped tests? Or just ignore this for now... |
095ed85
to
fb96f85
Compare
These changes break the way we're currently filtering tests from
This is supposed to filter all tests down to just the ones that include |
But they allow the proper way: Edit: BTW: The failing test is due to a faulty usage |
OK, but can we somehow automagically translate Many people are used to filtering tests by just passing a pattern, and this still works for the individual subsuites:
(so does |
Not sure. I'm afraid that would be hacky and could be ambiguous and/or break things. As far as I can tell this way now is the "correct" way (i.e. as documented by unittest) so if people now have to pass an additional |
afe9f94
to
d3eee12
Compare
dfc4cc2
to
40afb37
Compare
40afb37
to
86fea8b
Compare
86fea8b
to
04eafd3
Compare
The pip-installable pysvn is incomplete and the full one is not easy to install.
Simply return if `$TEST_EASYBUILD_MODULES_TOOL` is not set to Lmod. This avoids any "skip" output on CI
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.
GC3Pie on Python 3.11 does not work: gc3pie/gc3pie#674 So avoid the skip mark for that.
04eafd3
to
5c74dd0
Compare
Rebased this and the other PR. I just ran again in a case where I would have wanted to use e.g. I found a way to support the current test filtering: If the 2nd argument starts with a dash the new method is used, otherwise the old one. So when using unittest you can do |
ac627e8
to
150d77c
Compare
150d77c
to
b3caf72
Compare
Extracted some parts of #3780
Major change: Running the suite now allows to pass any valid unittest args, such as
-k
for filtering or--verbose
for more detailed output (really missed that in #3780) similar to easybuilders/easybuild-easyconfigs@17379db in the EC repo