Skip to content

Commit 6ba27e5

Browse files
committed
Prepare release
1 parent 15486b1 commit 6ba27e5

File tree

16 files changed

+4258
-1443
lines changed

16 files changed

+4258
-1443
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/test export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.github export-ignore
5+
/phpunit.dist.xml export-ignore

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: UnitTest
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
php-versions: [ '8.4' ]
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
# PHP
14+
- name: Setup PHP
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: ${{ matrix.php-versions }}
18+
# extensions: mbstring
19+
- name: Get composer cache directory
20+
id: composercache
21+
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
22+
- name: Cache composer dependencies
23+
uses: actions/cache@v2
24+
with:
25+
path: ${{ steps.composercache.outputs.dir }}
26+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
27+
restore-keys: ${{ runner.os }}-composer-
28+
- name: Install dependencies
29+
run: composer update --prefer-dist --prefer-stable --no-progress --no-suggest
30+
31+
- name: Run test suite
32+
run: php vendor/bin/phpunit --configuration phpunit.ci.xml

.gitignore

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
1-
.*
2-
!.gitignore
3-
composer.lock
4-
/vendor/
1+
# OS generated files #
2+
.DS_Store
3+
.DS_Store?
4+
ehthumbs.db
5+
Icon?
6+
Thumbs.db
7+
8+
# IDE Ignores #
9+
.idea/
10+
.vscode/
11+
12+
# Extra #
13+
!.gitkeep
14+
15+
# Configuration #
16+
.env
17+
.env.local
18+
.env*.local
19+
!.env.dist
20+
21+
# Libraries
22+
/vendor
23+
/node_modules
24+
/bower_components
25+
/yarn-error.log
26+
/.yarn/
27+
/.yarnrc
28+
.yarnrc.yml
29+
.npmrc
30+
/theme
31+
32+
# Remove above lines when you start a project
33+
# composer.lock
34+
# yarn.lock
35+
package-lock.json
36+
37+
#Test
38+
/phpunit.xml
39+
.phpunit.result.cache
40+
41+
# Others
42+

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Simon Asika
4+
5+
Permission is hereby granted, free of charge, to any person
6+
obtaining a copy of this software and associated documentation
7+
files (the "Software"), to deal in the Software without
8+
restriction, including without limitation the rights to use,
9+
copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the
11+
Software is furnished to do so, subject to the following
12+
conditions:
13+
14+
The above copyright notice and this permission notice shall be
15+
included in all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24+
OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)