Skip to content

Install the development tools in the CI build the proper way #336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,10 @@ jobs:
matrix:
include:
- command: sniffer
tool: phpcs
php-version: 7.4
- command: fixer
tool: php-cs-fixer
php-version: 7.4
- command: stan
tool: phpstan
php-version: 7.4

steps:
Expand Down Expand Up @@ -126,8 +123,7 @@ jobs:

- name: Install development tools
run: |
# These workarounds are needed until PHIVE can do installs in a non-interactive way
echo y | phive --no-progress update ${{ matrix.tool }};
phive --no-progress install --trust-gpg-keys BBAB5DF0A0D6672989CF1869E82B2FB314E9906E,A972B9ABB95D0B760B51442231C7E470E2138192,D32680D5957DC7116BE29C14CF1A108D0E7AE720

- name: Run Command
run: composer ci:php:${{ matrix.command }}