Skip to content

Commit 8fd870a

Browse files
authored
Add the rest of the bats coderun
1 parent 9f7dd73 commit 8fd870a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/testing.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,16 @@ jobs:
7171
uses: actions/setup-python@v2
7272
- run: pip3 --quiet --quiet install git+https://github.com/codespell-project/codespell.git
7373
- run: |
74+
# Simulate the Dockerfile COPY command
75+
[ -d "${RUNNER_TEMP}/code/" ] || sudo mkdir -p ${RUNNER_TEMP}/code/
76+
[ -f "${RUNNER_TEMP}/code/codespell-matcher.json" ] || sudo cp codespell-problem-matcher/codespell-matcher.json ${RUNNER_TEMP}/code/
77+
#ls -alR ${RUNNER_TEMP}/code/
7478
[ -d "/code/" ] || sudo mkdir -p /code/
7579
[ -f "/code/codespell-matcher.json" ] || sudo cp codespell-problem-matcher/codespell-matcher.json /code/
76-
ls -alR /code/
80+
#ls -alR /code/
81+
# Add a random place BATS tries to put it
82+
[ -d "/github/workflow/" ] || sudo mkdir -p /github/workflow/ && sudo chmod 777 /github/workflow/
83+
#ls -alR /github/workflow/
7784
export INPUT_CHECK_FILENAMES=""
7885
export INPUT_CHECK_HIDDEN=""
7986
export INPUT_EXCLUDE_FILE=""

0 commit comments

Comments
 (0)