Skip to content

Commit

Permalink
Add Psalm to Github Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
markrogoyski committed Feb 25, 2024
1 parent d5bfa4f commit 5d7e7be
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test_other_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,26 @@ jobs:
- name: Run Composer
run: composer install --no-interaction

- name: PHP Lint
- name: PHP Lint - Syntax Linting
run: ./vendor/bin/parallel-lint src tests

- name: Unit tests
- name: PHPUnit - Unit Tests
run: |
mkdir -p build/logs
./vendor/bin/phpunit --version
./vendor/bin/phpunit --configuration tests/phpunit.xml
- name: PHP Code Sniffer
- name: PHP Code Sniffer - Style Linting
run: |
./vendor/bin/phpcs --version
./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
- name: PHP Stan
- name: PHP Stan - Static Analysis
run: |
./vendor/bin/phpstan --version
./vendor/bin/phpstan analyze -c tests/phpstan.neon
- name: Psalm - Static Analysis
run: |
./vendor/bin/psalm --version
./vendor/bin/psalm --config=tests/psalm.xml

0 comments on commit 5d7e7be

Please sign in to comment.