diff --git a/.github/workflows/php-with-supercronic.yml b/.github/workflows/php-with-supercronic.yml index 9ab881d..0584b48 100644 --- a/.github/workflows/php-with-supercronic.yml +++ b/.github/workflows/php-with-supercronic.yml @@ -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: diff --git a/php-with-supercronic/Dockerfile_7.3 b/php-with-supercronic/Dockerfile_7.3 index 55d05e1..feff4a9 100644 --- a/php-with-supercronic/Dockerfile_7.3 +++ b/php-with-supercronic/Dockerfile_7.3 @@ -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