Updated github_ci.yml.tpl
This commit is contained in:
parent
1ddb042175
commit
cba5f7041a
1 changed files with 1 additions and 14 deletions
|
@ -64,25 +64,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: php:8.3
|
image: php:8.3
|
||||||
|
if: ${{ exists('phpunit.xml') }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Download build artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue