Skip to content
Merged
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
3 changes: 0 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
/.coveralls.yml export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/CODE_OF_CONDUCT.md export-ignore
/CONTRIBUTING.md export-ignore
/composer export-ignore
/composer.lock export-ignore
/phpcs.xml export-ignore
/phpstan.neon export-ignore
/phpunit.xml.dist export-ignore
/tests/ export-ignore
43 changes: 43 additions & 0 deletions .github/workflows/php-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: build

on:
push:
branches: [ 'master', 'feature/*' ]
pull_request:
branches: [ 'master' ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.2', '8.3', '8.4', '8.5' ]
phpunit-versions: [ 'latest' ]

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }}

- name: Validate composer.json and composer.lock
run: composer validate --strict --no-interaction

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

- name: Launch test unit in coverage mode
run: composer test-coverage

- name: Publish coveralls
if: matrix.php-versions == '8.2'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls -v
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ clover.xml
.project
.idea
.phpunit.result.cache
clover.xml
66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

All notable changes to this project will be documented in this file, in reverse chronological order by release.

## V2.0.6 - TBD
## V3.0.0 - TBD

### Added

- Nothing.

### Changed

- Nothing.
- [#31] Upgrade composer.json to require PHP 8.2 minimum compatibility.

### Deprecated

Expand Down
Loading