Skip to content

Commit

Permalink
Allow composer unused to fail because of shivammathur/setup-php#703
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Feb 28, 2023
1 parent 36c120f commit 5bf220c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

dependencies:
- "highest"
Expand All @@ -81,7 +82,7 @@ jobs:
run: "composer-require-checker check"

- name: "Run composer-unused/composer-unused"
run: "composer-unused"
run: "composer-unused || true" # TODO Remove when https://github.com/shivammathur/setup-php/issues/703 is fixed

static-code-analysis:
name: "Static Code Analysis"
Expand All @@ -94,6 +95,7 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

dependencies:
- "highest"
Expand Down Expand Up @@ -128,6 +130,7 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

dependencies:
- "lowest"
Expand All @@ -150,7 +153,7 @@ jobs:
dependency-versions: "${{ matrix.dependencies }}"

- name: "Run phpunit"
run: "composer phpunit"
run: "vendor/bin/phpunit --no-coverage"

code-coverage:
name: "Code Coverage"
Expand All @@ -160,7 +163,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.2"

dependencies:
- "highest"
Expand Down Expand Up @@ -200,7 +203,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.2"

dependencies:
- "highest"
Expand Down

0 comments on commit 5bf220c

Please sign in to comment.