-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67030b5
commit 6a41283
Showing
3 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Test PHP 8.3 | ||
run: make test PHP=8.3 | ||
run: make coverage PHP=8.3 | ||
- name: Test PHP 8.2 | ||
run: make test PHP=8.2 | ||
run: make coverage PHP=8.2 | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
ARG version=cli | ||
FROM php:$version | ||
|
||
ARG xdebug | ||
ARG pcov | ||
|
||
WORKDIR /var/www | ||
COPY . . | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y zip unzip | ||
|
||
RUN test -z "$xdebug" || (pecl install -f xdebug && docker-php-ext-enable xdebug) | ||
RUN test -z "$pcov" || (pecl install -f pcov && docker-php-ext-enable pcov) | ||
RUN pecl install -f xdebug && docker-php-ext-enable xdebug | ||
RUN pecl install -f pcov && docker-php-ext-enable pcov | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
RUN composer install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters