another question: is it possible to skip some test...
# nf-test
p
another question: is it possible to skip some tests based on a condition ? for example, if a module doesn't support the architecture of the server ? (e.g: if a
env
(?) variable is defined ) ?
c
not sure. You could try something with “tags”—tag the test and adjust the nf-test.config file or/and the GitHub workflows nf-test.yml file (only tests with a specific tag are run). I think you could also write an additional workflow nf-test yml that is run for a specific condition… similar to nf-test-gpu and nf-test workflow. Something like that. Maybe there are other solutions. 🙂
✅ 1
m
I haven't tried it any other way that @Carolin Schwitalla is describing, but there should be.
Definitively using a tag the way we deal with gpus or non gpus does work well
✅ 1
it'll be perfect once we can exclude tags
p
I'll try this . Thanks !
🙏 1