Skip to content

Commit

Permalink
Update CI config files
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Feb 16, 2023
1 parent 619fb1d commit f750ca5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
paths:
- '**.php'
- '.github/workflows/psalm.yml'
- 'psalm.xml.dist'
- 'psalm-baseline.xml'

jobs:
psalm:
Expand All @@ -27,7 +29,10 @@ jobs:
key: composer-${{ hashFiles('composer.lock') }}

- name: Run composer install
run: composer install -n --prefer-dist
run: composer install --prefer-dist --ansi --no-interaction --no-scripts

- name: Install global psalm
run: composer global require vimeo/psalm --prefer-dist --ansi --no-interaction --no-scripts

- name: Run psalm
run: composer psalm
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
coverage: xdebug

- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
run: composer update --${{ matrix.dependency-version }} --prefer-dist --ansi --no-interaction --no-scripts

- name: Execute tests
run: composer test-c
Expand Down

0 comments on commit f750ca5

Please sign in to comment.