Skip to content

Commit

Permalink
Github actions changes for static analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
markrogoyski committed May 7, 2023
1 parent de15ba5 commit 70d0111
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test_develop_and_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
./vendor/bin/phpunit --configuration tests/phpunit.xml --testsuite=LinearAlgebra
- name: PHP Code Sniffer
run: ./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
run: |
./vendor/bin/phpcs --version
./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
- name: Static analysis
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_other_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ jobs:
./vendor/bin/phpunit --configuration tests/phpunit.xml --testsuite=LinearAlgebra
- name: PHP Code Sniffer
run: ./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
run: |
./vendor/bin/phpcs --version
./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
- name: Static analysis
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ jobs:
./vendor/bin/phpunit --configuration tests/phpunit.xml --testsuite=LinearAlgebra
- name: PHP Code Sniffer
run: ./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
run: |
./vendor/bin/phpcs --version
./vendor/bin/phpcs --ignore=vendor --standard=tests/coding_standard.xml -s .
- name: Static analysis
run: |
Expand Down

0 comments on commit 70d0111

Please sign in to comment.