diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ab5aa02..76175d8 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -71,9 +71,16 @@ jobs: uses: actions/setup-python@v2 - run: pip3 --quiet --quiet install git+https://github.com/codespell-project/codespell.git - run: | + # Simulate the Dockerfile COPY command + [ -d "${RUNNER_TEMP}/code/" ] || sudo mkdir -p ${RUNNER_TEMP}/code/ + [ -f "${RUNNER_TEMP}/code/codespell-matcher.json" ] || sudo cp codespell-problem-matcher/codespell-matcher.json ${RUNNER_TEMP}/code/ + #ls -alR ${RUNNER_TEMP}/code/ [ -d "/code/" ] || sudo mkdir -p /code/ [ -f "/code/codespell-matcher.json" ] || sudo cp codespell-problem-matcher/codespell-matcher.json /code/ - ls -alR /code/ + #ls -alR /code/ + # Add a random place BATS tries to put it + [ -d "/github/workflow/" ] || sudo mkdir -p /github/workflow/ && sudo chmod 777 /github/workflow/ + #ls -alR /github/workflow/ export INPUT_CHECK_FILENAMES="" export INPUT_CHECK_HIDDEN="" export INPUT_EXCLUDE_FILE=""