diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index 905fe4d..c7cc8d0 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -47,7 +47,7 @@ jobs: - name: Execute PHPUnit tests id: phpunit run: | - if [ "${{ matrix.php-versions }}" = "8.3" && ${{github.ref}} == "refs/heads/main" && ${{github.event_name}} == "push" ]; then + if [ "${{ matrix.php-versions }}" = "8.3" && "${{github.ref}}" == "refs/heads/main" && "${{github.event_name}}" == "push" ]; then vendor/bin/phpunit --coverage-clover coverage.xml echo "generate-coverage-badge=true" >> $GITHUB_OUTPUT else