Skip to content

Commit

Permalink
ci: update workflow and composer config (#59)
Browse files Browse the repository at this point in the history
Fixes #58
  • Loading branch information
geerteltink committed Dec 29, 2020
1 parent f493ba6 commit 124dfae
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6,205 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-label-prs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Auto label Pull Requests

on:
pull_request:
pull_request_target:

jobs:
triage:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
matrix:
dependencies:
- lowest
- locked
- highest
php-version:
- 7.4
Expand Down Expand Up @@ -49,9 +48,5 @@ jobs:
if: ${{ matrix.dependencies == 'highest' }}
run: composer update --no-interaction --no-progress --no-suggest --ignore-platform-reqs

- name: Install locked dependencies
if: ${{ matrix.dependencies == 'locked' }}
run: composer install --no-interaction --no-progress --no-suggest --ignore-platform-reqs

- name: Tests
run: vendor/bin/phpunit
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.phpcs-cache
.phpunit.result.cache
/clover.xml
/coveralls-upload.json
/phpunit.xml
composer.lock
phpunit.xml
/vendor/
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "xtreamwayz/psr-container-messenger",
"description": "PSR Container compatible Symfony Messenger",
"license": "MIT",
"authors": [
{
"name": "Geert Eltink",
"homepage": "https://github.com/geerteltink"
}
],
"require": {
"php": "^7.4 || ^8.0",
"psr/container": "^1.0",
Expand All @@ -19,7 +25,7 @@
"laminas/laminas-auradi-config": "^2.0",
"laminas/laminas-pimple-config": "^1.1",
"laminas/laminas-servicemanager": "^3.4",
"phpunit/phpunit": "^9.3",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.10.0",
"psr/log": "^1.1",
"symfony/console": "^4.4 || ^5.0",
Expand All @@ -30,8 +36,8 @@
},
"suggest": {
"laminas/laminas-cli": "For auto configuring the cli command.",
"symfony/serializer": "For converting objects to JSON or XML.",
"symfony/property-access": "Required if using symfony/serializer and not providing a default serializer."
"symfony/property-access": "Required if using symfony/serializer and not providing a default serializer.",
"symfony/serializer": "For converting objects to JSON or XML."
},
"config": {
"sort-packages": true
Expand Down Expand Up @@ -65,7 +71,8 @@
},
"support": {
"issues": "https://github.com/xtreamwayz/psr-container-messenger/issues",
"forum": "https://github.com/xtreamwayz/community/discussions",
"source": "https://github.com/xtreamwayz/psr-container-messenger",
"rss": "https://github.com/xtreamwayz/psr-container-messenger/releases.atom"
"docs": "https://xtreamwayz.github.io/psr-container-messenger/"
}
}
Loading

0 comments on commit 124dfae

Please sign in to comment.