enable pcov & do not build twice

This commit is contained in:
Pavel 2021-05-24 16:22:49 +03:00
parent f4f060b921
commit f29d518918
2 changed files with 2 additions and 2 deletions

View File

@ -14,12 +14,12 @@ env:
jobs:
test_7_3:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v2
- name: Run tests
run: docker build . --file php-with-supercronic/Dockerfile_7.3
push_7_3:
needs: test_7_3
runs-on: ubuntu-latest
if: github.event_name == 'push'
permissions:

View File

@ -23,7 +23,7 @@ RUN apk --update add \
&& docker-php-ext-configure zip --with-libzip=/usr/include \
&& docker-php-ext-configure intl \
&& 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 \
&& curl -L https://getcomposer.org/composer-stable.phar -o /usr/bin/composer && chmod a+x /usr/bin/composer