From f49504ca6899e8d7e465099c8ec1c853ac476183 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Wed, 2 Dec 2020 17:56:04 +0000 Subject: [PATCH] Try and sudo to fix the permissions issue --- test/test.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.bats b/test/test.bats index 2b5c9ec..4d554ea 100644 --- a/test/test.bats +++ b/test/test.bats @@ -16,8 +16,8 @@ EXAMPLE_MISSPELLING_COUNT=5 export RUNNER_TEMP="/foo/runner_temp" # Simulate the Dockerfile COPY command -mkdir /code/ -cp codespell-problem-matcher/codespell-matcher.json /code/ +sudo mkdir /code/ +sudo cp codespell-problem-matcher/codespell-matcher.json /code/ # This function runs before every test function setup() {