add coursier (jvm) as a language

This commit is contained in:
Joseph Moniz 2020-10-09 13:39:18 -04:00 committed by Anthony Sottile
parent eee891c8cb
commit 70ab1c3b6f
10 changed files with 133 additions and 1 deletions

View file

@ -40,6 +40,10 @@ def cmd_output_mocked_pre_commit_home(
return ret, out.replace('\r\n', '\n'), None
skipif_cant_run_coursier = pytest.mark.skipif(
os.name == 'nt' or parse_shebang.find_executable('cs') is None,
reason="coursier isn't installed or can't be found",
)
skipif_cant_run_docker = pytest.mark.skipif(
os.name == 'nt' or not docker_is_running(),
reason="Docker isn't running or can't be accessed",