Sha256: ed9008e0d6c2b08bd95aea3c5ffc4dc5bd9f941225f3c75adcc1eafb6d25313e
Contents?: true
Size: 314 Bytes
Versions: 14
Compression:
Stored size: 314 Bytes
Contents
module Overcommit::Hook::PrePush # Runs `pytest` test suite before push # # @see https://github.com/pytest-dev/pytest class Pytest < Base def run result = execute(command) return :pass if result.success? output = result.stdout + result.stderr [:fail, output] end end end
Version data entries
14 entries across 12 versions & 2 rubygems