File tree Expand file tree Collapse file tree 4 files changed +10
-52
lines changed Expand file tree Collapse file tree 4 files changed +10
-52
lines changed Original file line number Diff line number Diff line change 50
50
sed -i "s/'API_KEY' => ''/'API_KEY' => '${{ secrets.API_KEY }}'/g" .env.php
51
51
sed -i "s/'PARTNER_ACCOUNT_ID' => ''/'PARTNER_ACCOUNT_ID' => '1001001'/g" .env.php
52
52
- name : Run PHPUnit tests
53
- run : vendor/bin/phpunit
53
+ run : vendor/bin/phpunit --coverage-clover=coverage.xml
54
+ - if : matrix.php-version == '8.3'
55
+ name : Send clover to codecov
56
+ run : test -z "${{ secrets.CODECOV_TOKEN }}" || (bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} -f "*.php" -Z -R .)
Original file line number Diff line number Diff line change 1
1
name : Code sniffer
2
2
on :
3
+ push :
4
+ branches :
5
+ - master
3
6
pull_request :
4
7
branches :
5
8
- master
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : Static Analysis
2
2
on :
3
+ push :
4
+ branches :
5
+ - master
3
6
pull_request :
4
7
branches :
5
8
- master
You can’t perform that action at this time.
0 commit comments