Skip to content

Run tests on PHP7.4, PHP8 and PHPUnit 9.3 - #200

Merged
clue merged 4 commits into
graphp:v0.9.xfrom
SimonFrings:tests09
Dec 3, 2020
Merged

Run tests on PHP7.4, PHP8 and PHPUnit 9.3#200
clue merged 4 commits into
graphp:v0.9.xfrom
SimonFrings:tests09

Conversation

@SimonFrings

@SimonFrings SimonFrings commented Dec 3, 2020

Copy link
Copy Markdown
Contributor

PHPUnit 9.3 released a new schema for the phpunit.xml configuration file. I had to migrate the file to the new format in order to avoid the warning. PHPUnit Versions older than 9.3 have to use the phpunit.xml.legacy configuration file, because the new format is unknown for them.
For further details concerning this pull request look into graphp/graphviz#46.

It's also possible to run this code with PHP 8 🎉

$ docker run -it --rm -v `pwd`:/data --workdir=/data php:8.0.0beta2-cli php vendor/bin/phpunit
PHPUnit 9.4.4 by Sebastian Bergmann and contributors.

...............................................................  63 / 176 ( 35%)
............................................................... 126 / 176 ( 71%)
..................................................              176 / 176 (100%)

Time: 00:00.023, Memory: 8.00 MB

OK (176 tests, 446 assertions)

@clue clue added this to the v0.9.2 milestone Dec 3, 2020

@clue clue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SimonFrings Thanks for the update, changes LGTM! :shipit:

@clue
clue merged commit df0781f into graphp:v0.9.x Dec 3, 2020
@OndraM OndraM mentioned this pull request Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants