Skip to content

Commit

Permalink
chore: Workaround for minitest issue
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Azuma <[email protected]>
  • Loading branch information
dazuma committed Sep 28, 2023
1 parent 95590bf commit 995c0d0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .toys/ci.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ def handle_result result

def run
::Dir.chdir context_directory
exec_tool ["test"], name: "Tests"
exec_tool ["cucumber"], name: "Behaviors"
exec_tool ["rubocop"], name: "Style checker"
exec_tool ["yardoc"], name: "Docs generation"
exec_tool ["build"], name: "Gem build"
# Workaround for https://github.com/minitest/minitest-rg/issues/17
minitest_env = { "MT_COMPAT" => "true" }
exec_tool ["test"], name: "Tests", env: minitest_env
exec_tool ["cucumber"], name: "Behaviors", env: minitest_env
exec_tool ["rubocop"], name: "Style checker", env: minitest_env
exec_tool ["yardoc"], name: "Docs generation", env: minitest_env
exec_tool ["build"], name: "Gem build", env: minitest_env
end

0 comments on commit 995c0d0

Please sign in to comment.