Skip to content

← All questions

A typo in -t made CI green for three weeks — why does matching nothing exit 0?

Asked 19,240 views4 answers

Someone renamed our pull-request step and dropped a letter:

bash
sdods run -p shop -e staging -l ui -t @smok

Three weeks of green pull requests. Nothing ran. The output even says so if you scroll up:

text
⚠ No scenarios matched the selection (tags @smok · layers ui).

✔ passed  0 passed, 0 failed, 0 skipped, 0 flaky  (11s)

A green tick under a warning that says nothing ran is a bad combination. Why is that not a failure, and what do we put in the pipeline so it never happens again?

asked by Bruno Teixeira694 ·

4 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related