From cba5f7041a35dbdfca8647d46c1515628ffbd0a3 Mon Sep 17 00:00:00 2001 From: netkas Date: Tue, 24 Sep 2024 00:34:15 -0400 Subject: [PATCH] Updated github_ci.yml.tpl --- .../PhpExtension/Templates/github_ci.yml.tpl | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl b/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl index 4e7f45a..6465b21 100644 --- a/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl +++ b/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl @@ -64,25 +64,12 @@ jobs: runs-on: ubuntu-latest container: image: php:8.3 + if: ${{ exists('phpunit.xml') }} steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Check for phpunit.xml - id: file_check - run: | - if [ -f phpunit.xml ]; then - echo "phpunit.xml exists" - else - echo "phpunit.xml does not exist" - exit 0 - fi - - - name: Skip if no phpunit.xml - if: steps.file_check.outcome == 'success' && steps.file_check.conclusion == 'skipped' - run: exit 0 - - name: Download build artifacts uses: actions/download-artifact@v4 with: