Skip to content

Commit 6af6919

Browse files
author
Inbal Tako
committed
Update readme
1 parent b164826 commit 6af6919

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ jobs:
2929
- uses: php-actions/composer@v1
3030
- uses: nanasess/setup-php@master
3131

32+
- name: Install phpunit
33+
run: apt-get install phpunit
34+
3235
- name: Run tests
33-
run: php test/AgentTest.php && php test/SecureNativeTest.php
36+
run: phpunit test/AgentTest.php && php test/SecureNativeTest.php
3437

3538
- name: Publish to codecov
3639
run: bash <(curl -s https://codecov.io/bash)

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ jobs:
2626
- uses: php-actions/composer@v1
2727
- uses: nanasess/setup-php@master
2828

29+
- name: Install phpunit
30+
run: apt-get install phpunit
31+
2932
- name: Run tests
30-
run: php test/AgentTest.php && php test/SecureNativeTest.php
33+
run: phpunit test/AgentTest.php && php test/SecureNativeTest.php
3134

3235
- name: Publish to codecov
3336
run: bash <(curl -s https://codecov.io/bash)

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ jobs:
2323
- uses: php-actions/composer@v1
2424
- uses: nanasess/setup-php@master
2525

26+
- name: Install phpunit
27+
run: apt-get install phpunit
28+
2629
- name: Run tests
27-
run: php test/AgentTest.php && php test/SecureNativeTest.php
30+
run: phpunit test/AgentTest.php && php test/SecureNativeTest.php
2831

2932
- name: Publish to codecov
3033
run: bash <(curl -s https://codecov.io/bash)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
"php": ">=7.2.0",
2727
"guzzlehttp/guzzle": "^6.0",
2828
"antecedent/patchwork": "~2.0",
29-
"monolog/monolog": "2.0.2"
29+
"monolog/monolog": "2.0.2",
30+
"phpunit/phpunit": "^8"
3031
},
3132
"require-dev": {
32-
"phpunit/phpunit": "^8",
3333
"php-coveralls/php-coveralls": "*"
3434
}
3535
}

0 commit comments

Comments
 (0)