Skip to content

Commit

Permalink
Fix: Install infection/infection with phive
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Nov 28, 2021
1 parent ea9449a commit 758c12a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
dependencies: "${{ matrix.dependencies }}"

- name: "Run mutation tests with Xdebug and infection/infection"
run: "vendor/bin/infection --configuration=infection.json"
run: ".phive/infection --configuration=infection.json"

static-code-analysis:
name: "Static Code Analysis"
Expand Down
Binary file added .phive/infection
Binary file not shown.
1 change: 1 addition & 0 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="composer-require-checker" version="^3.5.1" installed="3.5.1" location="./.phive/composer-require-checker" copy="true"/>
<phar name="infection" version="^0.25.3" installed="0.25.3" location="./.phive/infection" copy="true"/>
<phar name="psalm" version="4.4.1" installed="4.4.1" location="./.phive/psalm" copy="true"/>
</phive>
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ help: ## Displays this list of targets with descriptions
.PHONY: mutation-tests
mutation-tests: vendor ## Runs mutation tests with infection/infection
mkdir -p .build/infection
vendor/bin/infection --configuration=infection.json
.phive/infection --configuration=infection.json

.PHONY: static-code-analysis
static-code-analysis: vendor ## Runs a static code analysis with vimeo/psalm
Expand Down

0 comments on commit 758c12a

Please sign in to comment.