Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pest tool #485

Merged
merged 3 commits into from
Sep 6, 2023
Merged

Add pest tool #485

merged 3 commits into from
Sep 6, 2023

Conversation

benjy8001
Copy link
Contributor

No description provided.

resources/test.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
resources/test.json Outdated Show resolved Hide resolved
@jakzal
Copy link
Owner

jakzal commented Sep 2, 2023

There's something wrong with builds on PRs submitted by anyone but me... I think it has something to do with tokens.

Anyway, can you test it works locally with make test-integration?

@benjy8001
Copy link
Contributor Author

``> There's something wrong with builds on PRs submitted by anyone but me... I think it has something to do with tokens.

Anyway, can you test it works locally with make test-integration?

After running make build, i've got that :

phpdbg -qrr ./vendor/bin/infection --no-interaction --formatter=progress --min-msi=100 --min-covered-msi=100 --only-covered --ansi
make: execvp: phpdbg: Input/output error
make: *** [Makefile:53: infection] Error 127
╰ make test-integration
make: *** No rule to make target 'build/toolbox.phar', needed by 'test-integration'.  Stop.

@jakzal
Copy link
Owner

jakzal commented Sep 4, 2023

Seems to be a problem with phpdbg on your machine. In that case, you might try to run it in one of the latest jakzal/phpqa docker images.

resources/test.json Outdated Show resolved Hide resolved
@jakzal
Copy link
Owner

jakzal commented Sep 5, 2023

Sorry, I just remembered you also need to build the phar, so the command should be :

make package test-integration

@jakzal jakzal merged commit 0db06cc into jakzal:master Sep 6, 2023
5 of 8 checks passed
@jakzal
Copy link
Owner

jakzal commented Sep 6, 2023

Let's try again. Thank you @benjy8001 🍺

@benjy8001
Copy link
Contributor Author

Thanks, and sorry for the review work 🙂.

github-actions bot pushed a commit to jakzal/phpqa that referenced this pull request Sep 7, 2023
New tools:

* pest - [The elegant PHP Testing Framework](https://github.com/pestphp/pest) jakzal/toolbox#485 (thanks @benjy8001 @jakzal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants