Skip to content

Commit

Permalink
Added GitHub compatibility for overridden $HOME.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Sep 6, 2024
1 parent 1f6fb80 commit 897481d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ RUN curl -L -o "/tmp/kcov.tar.gz" "https://github.com/SimonKagstrom/kcov/archive

FROM php:8.3-cli-bookworm

# Link the root directory to /github.
# @see https://github.com/actions/runner/issues/863
RUN ln -s /root /github

# Upgrade all installed packages and clean up.
# hadolint ignore=DL3005
RUN apt-get update -qq \
Expand Down
7 changes: 6 additions & 1 deletion goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,10 @@ command:

php -i | grep -Fq "PCOV support => Enabled":
exit-status: 0
stderr: [ ]
stderr: []
timeout: 10000

test -d /github:
exit-status: 0
stderr: []
timeout: 10000

0 comments on commit 897481d

Please sign in to comment.