Skip to content

Commit

Permalink
update dependencies (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 authored Apr 25, 2022
1 parent 36b029c commit 51b5235
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ updates:
- "mimmi20"
labels:
- "dependencies"
versioning-strategy: "increase"
versioning-strategy: "increase-if-necessary"
commit-message:
include: "scope"
prefix: "composer"
Expand Down
54 changes: 2 additions & 52 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ jobs:
extensions: "${{ env.PHP_EXTENSIONS }}"
ini-values: "${{ env.PHP_INI_VALUES }}"
coverage: "${{ matrix.coverage-drivers }}"
tools: "${{ env.TOOLS }}, infection"
tools: "${{ env.TOOLS }}, infection:0.26.6"

- name: "Update dependencies with composer"
uses: "ramsey/composer-install@v1"
Expand All @@ -452,61 +452,11 @@ jobs:
run: "vendor/bin/phpunit -c phpunit.xml --verbose --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml"

- name: "Upload coverage to Codecov"
uses: "codecov/codecov-action@v3.0.0"
uses: "codecov/codecov-action@v3.1.0"
with:
file: ".build/coverage/clover.xml"
flags: "phpunit,php-${{ matrix.php-version }},${{ matrix.coverage-drivers }},${{ matrix.php-version }},${{ matrix.operating-system }}"
verbose: false

- name: "Run mutation tests with infection/infection"
run: "infection -s --min-covered-msi=93 --min-msi=90 --coverage=.build/coverage --logger-github"

roave-backwards-compatibility-check:
name: "Check for Backward Compatibility breaks"

needs: "lint"

runs-on: "${{ matrix.operating-system }}"

continue-on-error: false

strategy:
fail-fast: false

matrix:
operating-system:
- "ubuntu-20.04"

php-version:
- "8.1"

dependencies:
- "highest"

steps:
- name: "Checkout"
uses: "actions/checkout@v3"
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0

- name: "Install PHP"
uses: "shivammathur/[email protected]"
with:
php-version: "${{ matrix.php-version }}"
extensions: "${{ env.PHP_EXTENSIONS }}"
ini-values: "${{ env.PHP_INI_VALUES }}"
coverage: "none"
tools: "${{ env.TOOLS }}"

- name: "Require Roave/BackwardCompatibilityCheck"
run: "composer require --no-update --no-interaction --prefer-dist --prefer-stable --dev \"roave/backward-compatibility-check\""

- name: "Update dependencies with composer"
uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "${{ env.COMPOSER_OPTIONS }}"

- name: "Check for BC breaks"
run: "vendor/bin/roave-backward-compatibility-check --format=github-actions"
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"require-dev": {
"mimmi20/coding-standard": "^2.7.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.5.6",
"phpstan/phpstan": "^1.5.7",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.1.0",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpunit/phpunit": "^9.5.20"
},
"minimum-stability": "dev",
Expand Down

0 comments on commit 51b5235

Please sign in to comment.