Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#101] Added PCOV #102

Merged
merged 3 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ RUN curl -L -o "/usr/local/bin/codecov" "https://github.com/codecov/uploader/rel
&& chmod +x /usr/local/bin/codecov \
&& codecov --version

# Install PCOV
# @see https://pecl.php.net/package/pcov
ENV CODECOV_VERSION=1.0.11
RUN pecl install "pcov-${CODECOV_VERSION}" && docker-php-ext-enable pcov && php -m

# Install a stub for pygmy.
# Some frameworks may require presence of tools that are not required in CI container.
RUN ln -s /usr/bin/true /usr/local/bin/pygmy \
Expand Down
5 changes: 5 additions & 0 deletions goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,8 @@ command:
- /usr/bin/zip
stderr: []
timeout: 10000

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