Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Don't run coverage on cron
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Mar 5, 2021
1 parent 3d2e29f commit 1c19139
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,26 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_versions }}
extensions: mbstring, dom, fileinfo, gd
coverage: xdebug
tools: pecl

- name: Set Laravel version
run: composer require "illuminate/redis:${{ matrix.laravel }}" --no-update

- name: Install Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Execute tests via PHPUnit
run: vendor/bin/phpunit

- name: Upload coverage to Codecov
if: github.event_name != 'schedule'
uses: codecov/codecov-action@v1
with:
file: ./_meta/coverage.xml
Expand Down

0 comments on commit 1c19139

Please sign in to comment.