diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b547f1b..7a33d55 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,19 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Check for phpunit.xml + id: file_check + run: | + if [ -f phpunit.xml ]; then + echo "::set-output name=exists::true" + else + echo "::set-output name=exists::false" + fi + + - name: Skip if no phpunit.xml + if: steps.file_check.outputs.exists == 'false' + run: exit 78 + - name: Download build artifacts uses: actions/download-artifact@v4 with: