Skip to content

Commit 3cd38fb

Browse files
Add unit test workflow
1 parent 3d3c389 commit 3cd38fb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Unit Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
timeout-minutes: 10
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
19+
- name: PHPUnit tests
20+
uses: php-actions/phpunit@v3
21+
with:
22+
configuration: "custom/path/to/phpunit.xml"
23+
memory_limit: "256M"

0 commit comments

Comments
 (0)