From 390e2bb5b04d348fafef191e6032ea52eb40a6bf Mon Sep 17 00:00:00 2001 From: Hannes Kaeufler Date: Tue, 17 Dec 2019 12:17:24 +0100 Subject: [PATCH] Try parallel runner on CI --- .circleci/config.yml | 1 + bin/test-mutations | 2 +- src/crytic/runner/runner.cr | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5be7e271..3fd9df90 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,6 +48,7 @@ workflows: - test-crystal-0.32.0 - test-crystal-0.31.1 - test-crystal-0.30.1 + - test-mutations nightly: triggers: - schedule: diff --git a/bin/test-mutations b/bin/test-mutations index f58b3eb8..6fc4a669 100755 --- a/bin/test-mutations +++ b/bin/test-mutations @@ -2,4 +2,4 @@ list=(`find spec -name '*_spec.cr' -and -not -name 'integration_spec.cr'`) printf '%s\n' "${list[@]}" | sort -./bin/crytic test --min-msi=70.0 --reporters=Console,Stryker,ConsoleFileSummary "${list[@]}" +./bin/crytic test-parallel --min-msi=70.0 --reporters=Console,Stryker,ConsoleFileSummary "${list[@]}" diff --git a/src/crytic/runner/runner.cr b/src/crytic/runner/runner.cr index 8dd82fb9..5806c523 100644 --- a/src/crytic/runner/runner.cr +++ b/src/crytic/runner/runner.cr @@ -4,5 +4,5 @@ require "./run" module Crytic::Runner abstract class Runner abstract def run(run : Run, side_effects : SideEffects) : Bool - end end +end