-
Notifications
You must be signed in to change notification settings - Fork 2
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 PHP support for TCR #2
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/vendor | ||
.phpunit.cache |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
config: | ||
git: | ||
auto-push: true | ||
polling-period: 2s | ||
mob-timer: | ||
duration: 5m0s | ||
tcr: | ||
language: pho | ||
toolchain: phpunit |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
toolchains: | ||
default: phpunit | ||
compatible-with: [phpunit] | ||
source-files: | ||
directories: [src] | ||
patterns: ['(?i)^.*\.php$'] | ||
test-files: | ||
directories: [tests] | ||
patterns: ['(?i)^.*\.php$'] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
build: | ||
- os: [darwin, linux] | ||
arch: ["386", amd64, arm64] | ||
command: ./vendor/bin/phpunit | ||
arguments: [--list-tests] | ||
- os: [windows] | ||
arch: ["386", amd64, arm64] | ||
command: .\vendor\bin\phpunit | ||
arguments: [--list-tests] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From I could see, running There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've just tried an alternative tool to run the syntax check that seems to do the job: php-parallel-lint |
||
test: | ||
- os: [darwin, linux] | ||
arch: ["386", amd64, arm64] | ||
command: ./vendor/bin/phpunit | ||
arguments: [tests] | ||
- os: [windows] | ||
arch: ["386", amd64, arm64] | ||
command: .\vendor\bin\phpunit | ||
arguments: [tests] | ||
test-result-dir: .phpunit.cache | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: language should be php