Skip to content

Commit 9b313ba

Browse files
Fixing github actions using act
Signed-off-by: Dusan Malusev <[email protected]>
1 parent 172e241 commit 9b313ba

File tree

6 files changed

+103
-117
lines changed

6 files changed

+103
-117
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
php-versions: ['8.1', '8.2', '8.3']
2222
phpts: [true, false]
2323
env:
24-
extensions: mbstring, intl, sodium, xsl, zip, pdo, pdo_sqlite, xdebug, curl
24+
extensions: mbstring, intl, sodium, xsl, zip, pdo, pdo_sqlite, xdebug, curl, igbinary, msgpack
2525
key: extensions-cache
2626
steps:
2727
- uses: actions/checkout@v4
@@ -64,13 +64,12 @@ jobs:
6464
run: composer install -q --no-ansi --prefer-dist --no-interaction --no-progress
6565

6666
- name: Run Tests
67-
run: vendor/bin/pest --coverage-clover=coverage.xml --coverage --colors always --fail-on-risky --fail-on-warning --fail-on-deprecation --strict-coverage
67+
run: vendor/bin/pest --coverage-clover=coverage.xml --coverage --colors=always --fail-on-risky --fail-on-warning --fail-on-deprecation --strict-coverage
6868

69-
- uses: codecov/codecov-action@v3
69+
- uses: codecov/codecov-action@v4.0.1
7070
with:
71-
token: ${{ secrets.CODECOV_TOKEN }}
7271
file: ./coverage.xml
73-
flags: tests
72+
token: ${{ secrets.CODECOV_TOKEN }}
73+
slug: dmalusev/laravel-crypto
7474
name: laravel-crypto
75-
fail_ci_if_error: true
76-
verbose: false
75+
fail_ci_if_error: false

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
vendor/
22
.idea/
3-
.phpbench/
3+
.phpbench/
4+
coverage.xml
5+
teamcity.txt
6+
junit.xml

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
"illuminate/support": "^8|^9|^10"
3535
},
3636
"require-dev": {
37-
"nunomaduro/collision": "^7.10",
37+
"brianium/paratest": "^7.3",
3838
"orchestra/testbench": "^8.21",
3939
"pestphp/pest": "^2.34",
4040
"pestphp/pest-plugin-laravel": "^2.3",
41-
"phpbench/phpbench": "@dev"
41+
"phpbench/phpbench": "^1.2"
4242
},
4343
"autoload": {
4444
"psr-4": {

0 commit comments

Comments
 (0)