From 73dfcece1833e1754281401a5673ee1848986a70 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 30 Jun 2023 17:55:57 +0200 Subject: [PATCH] Update moduleroot/.github/workflows/ci.yml.erb Co-authored-by: Ewoud Kohl van Wijngaarden --- moduleroot/.github/workflows/ci.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moduleroot/.github/workflows/ci.yml.erb b/moduleroot/.github/workflows/ci.yml.erb index b3c7fc11..766ca52b 100644 --- a/moduleroot/.github/workflows/ci.yml.erb +++ b/moduleroot/.github/workflows/ci.yml.erb @@ -35,6 +35,6 @@ jobs: <%- if @configs.key?('rubocop') -%> rubocop: <%= @configs['rubocop'] %> <%- end -%> -<%- if !Dir[File.join(@metadata[:workdir], 'spec', 'acceptance', '**', '*_spec.rb')].any? && @configs['unit_runs_on'] -%> +<%- if Dir[File.join(@metadata[:workdir], 'spec', 'acceptance', '**', '*_spec.rb')].none? && @configs['unit_runs_on'] -%> unit_runs_on: '<%= @configs['unit_runs_on'] %>' <%- end -%>