Skip to content

Fix ci: travis - Better test if phpunit completed #1633

Fix ci: travis - Better test if phpunit completed

Fix ci: travis - Better test if phpunit completed #1633

name: "CI-PULL-REQUEST"
on: [pull_request]
jobs:
pre-commit:
uses: ./.github/workflows/pre-commit.yml

Check failure on line 6 in .github/workflows/ci-on-pull_request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-on-pull_request.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci-on-pull_request.yml" -> "./.github/workflows/pre-commit.yml" : You have an error in your yaml syntax on line 69
secrets: inherit
with:
gh_event: ${{ github.event_name }}
phan:
uses: ./.github/workflows/phan.yml
secrets: inherit
needs: [pre-commit]
with:
gh_event: ${{ github.event_name }}
phpstan:
uses: ./.github/workflows/phpstan.yml
secrets: inherit
needs: [pre-commit, phan]
with:
gh_event: ${{ github.event_name }}
#windows-ci:
# needs: [pre-commit, phan, phpstan]
# secrets: inherit
# uses: ./.github/workflows/windows-ci.yml
# with:
# gh_event: ${{ github.event_name }}
gh-travis: # Runs travis script on github runner (not on travis)
if: false
# needs: [pre-commit, phan]
# needs: [windows-ci]
secrets: inherit
uses: ./.github/workflows/gh-travis.yml
with:
gh_event: ${{ github.event_name }}
# Note (not tested, from https://github.com/orgs/community/discussions/38361)
# To cancel jobs if one failes, the following action may help
# - if: "failure()"
# uses: "andymckay/[email protected]"