mirror of
https://github.com/Neur0toxine/dockerimages.git
synced 2024-11-24 22:06:05 +03:00
enable pcov & do not build twice
This commit is contained in:
parent
f4f060b921
commit
f29d518918
2
.github/workflows/php-with-supercronic.yml
vendored
2
.github/workflows/php-with-supercronic.yml
vendored
@ -14,12 +14,12 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
test_7_3:
|
test_7_3:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: docker build . --file php-with-supercronic/Dockerfile_7.3
|
run: docker build . --file php-with-supercronic/Dockerfile_7.3
|
||||||
push_7_3:
|
push_7_3:
|
||||||
needs: test_7_3
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -23,7 +23,7 @@ RUN apk --update add \
|
|||||||
&& docker-php-ext-configure zip --with-libzip=/usr/include \
|
&& docker-php-ext-configure zip --with-libzip=/usr/include \
|
||||||
&& docker-php-ext-configure intl \
|
&& docker-php-ext-configure intl \
|
||||||
&& docker-php-ext-install -j$(nproc) pgsql pdo_pgsql intl pcntl soap imap \
|
&& docker-php-ext-install -j$(nproc) pgsql pdo_pgsql intl pcntl soap imap \
|
||||||
&& docker-php-ext-enable opcache redis \
|
&& docker-php-ext-enable opcache redis pcov \
|
||||||
&& rm -rf /var/cache/apk/* && rm -rf /etc/apk/cache \
|
&& rm -rf /var/cache/apk/* && rm -rf /etc/apk/cache \
|
||||||
&& curl -L https://getcomposer.org/composer-stable.phar -o /usr/bin/composer && chmod a+x /usr/bin/composer
|
&& curl -L https://getcomposer.org/composer-stable.phar -o /usr/bin/composer && chmod a+x /usr/bin/composer
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user