Fixed conditional running of workflow tests