diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index beb7afa..f37b12d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -217,7 +217,13 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '8.3' + extensions: xdebug - name: Install dependencies run: composer install --prefer-dist --no-progress - - name: Run tests - run: vendor/bin/phpunit || echo "No tests found" \ No newline at end of file + - name: Run tests and generate code coverage + run: vendor/bin/phpunit || echo "No tests found" + - name: Upload coverage to Coveralls + uses: coverallsapp/github-action@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: coverage/coverage.xml \ No newline at end of file