diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c578a58a..997e0f18 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,16 +22,15 @@ jobs: name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} - services: mysql: - image: mysql:5.7 - env: - MYSQL_ALLOW_EMPTY_PASSWORD: yes - MYSQL_DATABASE: avored_ecommerce_test - ports: - - 3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + image: mysql:5.7 + env: + MYSQL_ALLOW_EMPTY_PASSWORD: yes + MYSQL_DATABASE: avored_ecommerce_test + ports: + - 3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - name: Checkout code @@ -61,4 +60,6 @@ jobs: uses: timkrase/phpunit-coverage-badge@v1.2.0 with: report: build/logs/clover.xml - coverage_badge_path: badge.svg + coverage_badge_path: "badge-coverage.svg" + push_badge: true + repo_token: ${{ secrets.USER_TOKEN }}