-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update master to output generated at
- Loading branch information
Showing
935 changed files
with
10,212 additions
and
8,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* text=auto | ||
/.github export-ignore | ||
.styleci.yml export-ignore | ||
.scrutinizer.yml export-ignore | ||
BACKERS.md export-ignore | ||
CONTRIBUTING.md export-ignore | ||
CHANGELOG.md export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @abenevaut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Be free to fork this project. | ||
|
||
No contribution is accepted on this READ ONLY repository. | ||
Please visit the [abenevaut/opensource](https://github.com/abenevaut/opensource) to contribute. | ||
|
||
Roadmap: https://github.com/users/abenevaut/projects/9 | ||
|
||
All inspired code or re-used code have to be licensed to GNU GPLv3. | ||
Please, take care about licensed projects you can't re-use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
No contribution is accepted on this READ ONLY repository. | ||
Please visit the [abenevaut/opensource](https://github.com/abenevaut/opensource) to contribute. | ||
|
||
Roadmap: https://github.com/users/abenevaut/projects/9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
No contribution is accepted on this READ ONLY repository. | ||
Please visit the [abenevaut/opensource](https://github.com/abenevaut/opensource) to contribute. | ||
|
||
Roadmap: https://github.com/users/abenevaut/projects/9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
No contribution is accepted on this READ ONLY repository. | ||
Please visit the [abenevaut/opensource](https://github.com/abenevaut/opensource) to contribute. | ||
|
||
Roadmap: https://github.com/users/abenevaut/projects/9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Close PR | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: superbrothers/close-pull-request@v3 | ||
with: | ||
comment: "No contribution is accepted on this READ ONLY repository." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: phpunit-slicer-release | ||
|
||
on: | ||
release: | ||
types: [ created ] | ||
|
||
env: | ||
php_version: 8.3 | ||
node_version: lts/iron | ||
|
||
jobs: | ||
|
||
publish-binaries: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./builds | ||
permissions: | ||
contents: write | ||
concurrency: | ||
group: phpunit-slicer-publish-binaries-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
steps: | ||
|
||
- name: Checkout project | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Get current release tag | ||
id: branch-name | ||
run: echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | ||
|
||
- name: add assets to release | ||
run: | | ||
sha512sum phpunit-slicer > phpunit-slicer.sha512sum | ||
gh release upload ${{ steps.branch-name.outputs.SOURCE_TAG }} phpunit-slicer.sha512sum | ||
gh release upload ${{ steps.branch-name.outputs.SOURCE_TAG }} phpunit-slicer | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish-docs: | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: phpunit-slicer-publish-docs-${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: false | ||
steps: | ||
|
||
- name: Checkout project | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Publish to wiki | ||
uses: SwiftDocOrg/github-wiki-publish-action@v1 | ||
with: | ||
path: "docs" | ||
env: | ||
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.ABENEVAUT_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/vendor | ||
/.idea | ||
/.vscode | ||
/.vagrant | ||
.phpunit.result.cache | ||
phpunit.xml.test | ||
phpunit.xml | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,6 @@ | ||
# PHPUnit-slicer | ||
# phpunit-slicer | ||
|
||
Tool to slice PHPUnit tests files to tests suites. | ||
|
||
- [Available on Packagist.org - abenevaut/phpunit-slicer](https://packagist.org/packages/abenevaut/phpunit-slicer) | ||
|
||
![how-to](https://raw.githubusercontent.com/abenevaut/phpunit-slicer/master/demo.gif) | ||
|
||
## Install | ||
|
||
### In PHP project | ||
```shell | ||
composer require --dev abenevaut/phpunit-slicer | ||
``` | ||
|
||
#### Usage | ||
|
||
```shell | ||
vendor/bin/phpunit-slicer slice 4 ./phpunit.xml.dist ./phpunit.xml ./tests | ||
``` | ||
|
||
### Globally | ||
```shell | ||
composer global require abenevaut/phpunit-slicer | ||
``` | ||
|
||
#### Usage | ||
```shell | ||
phpunit-slicer slice 4 ./phpunit.xml.dist ./phpunit.xml ./tests | ||
``` | ||
|
||
### Use cases | ||
```shell | ||
vendor/bin/phpunit --testsuite sliced-testsuite-0 --configuration phpunit.xml | ||
vendor/bin/pest --testsuite sliced-testsuite-1 --configuration phpunit.xml | ||
php artisan test --testsuite sliced-testsuite-2 --configuration phpunit.xml | ||
php laravel-zero-project test --testsuite sliced-testsuite-3 --configuration phpunit.xml | ||
``` | ||
|
||
- [Real use case with Github Actions](https://github.com/abenevaut/phpunit-slicer/wiki) | ||
|
||
## Build | ||
```shell | ||
php phpunit-slicer app:build phpunit-slicer | ||
php phpunit-slicer app:build phpunit-slicer --build-version=0.0.X | ||
``` | ||
[Wiki](https://github.com/abenevaut/phpunit-slicer/wiki) | ||
|
||
## Licensing | ||
|
||
- Credits to [tailwindtoolbox](https://github.com/tailwindtoolbox/Minimal-Blog) for the HTML template | ||
- The Laravel Zero is open-sourced software licensed under the [MIT license](https://opensource.org/license/mit/). |
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.