Skip to content
Draft
Show file tree
Hide file tree
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
16 changes: 12 additions & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ on: [ push ]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.4', '8.5']

steps:
- uses: actions/checkout@v3

- uses: php-actions/composer@v6
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-progress

- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
configuration: phpunit.xml
run: vendor/bin/phpunit --configuration phpunit.xml
9 changes: 8 additions & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ Traceback
nodejs
npm
fediverse
readme
readme
chainable
getter
lookups
PHPNomad
phpnomad
txt
utils
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "phpnomad/utils",
"description": "",
"version": "1.0.4",
"type": "library",
"homepage": "https://github.com/phpnomad/core",
"readme": "README.md",
Expand All @@ -12,11 +11,15 @@
"autoload": {
"psr-4": {
"PHPNomad\\Utils\\": "lib/"
}
},
"classmap": [
"lib/Exceptions/"
]
},
"autoload-dev": {
"psr-4": {
"PHPNomad\\Utils\\Tests\\": "tests/"
"PHPNomad\\Core\\Tests\\": "tests/",
"PHPNomad\\Tests\\Unit\\": "tests/Unit/"
}
},
"authors": [
Expand All @@ -26,7 +29,11 @@
}
],
"require-dev": {
"phpnomad/tests": "^0.1.0 || ^0.3.0"
"doctrine/instantiator": "^1.5",
"myclabs/deep-copy": ">=1.13.4 <1.14",
"phpnomad/tests": "^0.1.0 || ^0.3.0",
"phpunit/phpunit": "^9.6.33",
"symfony/process": "^5.4.51"
},
"config": {
"allow-plugins": {
Expand Down
Loading
Loading