Skip to content

Commit 95008b8

Browse files
committed
wip
1 parent 0252c54 commit 95008b8

File tree

3 files changed

+45
-7
lines changed

3 files changed

+45
-7
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://spatie.be/open-source/support-us

.github/workflows/run-tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: run-tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: true
11+
matrix:
12+
php: [7.4]
13+
dependency-version: [prefer-lowest, prefer-stable]
14+
15+
name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v1
20+
21+
- name: Cache dependencies
22+
uses: actions/cache@v1
23+
with:
24+
path: ~/.composer/cache/files
25+
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
26+
27+
- name: Setup PHP
28+
uses: shivammathur/setup-php@v1
29+
with:
30+
php-version: ${{ matrix.php }}
31+
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
32+
coverage: none
33+
34+
- name: Install dependencies
35+
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
36+
37+
- name: Execute tests
38+
run: vendor/bin/phpunit

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ FAILURES!
6868
Tests: 1, Assertions: 1, Failures: 1.
6969
```
7070

71+
## Support us
72+
73+
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
74+
75+
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
76+
7177
## Installation
7278

7379
You can install the package via composer:
@@ -275,13 +281,6 @@ We publish all received postcards [on our company website](https://spatie.be/en/
275281
- [Alex Vanderbist](https://github.com/alexvanderbist)
276282
- [All Contributors](../../contributors)
277283

278-
## Support us
279-
280-
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).
281-
282-
Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
283-
All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.
284-
285284
## License
286285

287286
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 commit comments

Comments
 (0)