Update README.md #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Workflow | |
on: | |
push: | |
branches: [ "main", "development" ] | |
pull_request: | |
branches: [ "main", "development" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e | |
with: | |
php-version: '7.4' | |
- uses: actions/checkout@v4 | |
- name: Validate composer.json and composer.lock | |
run: composer validate --strict | |
- name: Install Dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Run Unit Tests | |
run: composer run-script test-unit | |
- name: Run Feature Tests | |
run: composer run-script test-feature | |
continue-on-error: true | |
- name: Static Analyse | |
run: composer run-script analyse |