Commit 8166670 1 parent 862a83e commit 8166670 Copy full SHA for 8166670
File tree 4 files changed +17
-10
lines changed
4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 30
30
<directory suffix =" .php" >../sources/ext</directory >
31
31
</exclude >
32
32
<report >
33
- <clover outputFile =" /tmp/madb.xml" />
33
+ <clover outputFile =" /home/runner/work/Elkarte/Elkarte/elkarte/ tmp/madb.xml" />
34
34
</report >
35
35
</coverage >
36
36
Original file line number Diff line number Diff line change 8
8
set +x
9
9
10
10
# Agents will merge all coverage data...
11
- if [[ " ${GITHUB_EVENT_NAME} " == " pull_request" ]]
12
- then
13
- bash <( curl -s https://codecov.io/bash) -s " /tmp" -f ' *.xml' -t " $CODECOV_TOKEN "
14
- fi
11
+ # if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]
12
+ # then
13
+ # bash <(curl -s https://codecov.io/bash) -s "/tmp" -f '*.xml' -t "$CODECOV_TOKEN"
14
+ # fi
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ CONFIG="--verbose --configuration .github/phpunit-$DB.xml"
12
12
vendor/bin/phpunit ${CONFIG}
13
13
14
14
# Agents will merge all coverage data...
15
- if [[ " ${GITHUB_EVENT_NAME} " == " pull_request" ]]
16
- then
17
- bash <( curl -s https://codecov.io/bash) -s " /tmp" -f ' *.xml' -t " $CODECOV_TOKEN "
18
- fi
15
+ # if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]
16
+ # then
17
+ # bash <(curl -s https://codecov.io/bash) -s "/tmp" -f '*.xml' -t "$CODECOV_TOKEN"
18
+ # fi
Original file line number Diff line number Diff line change @@ -237,9 +237,16 @@ jobs:
237
237
env :
238
238
DB : ${{steps.database-type.outputs.db}}
239
239
PHP_VERSION : ${{ matrix.php }}
240
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
241
240
run : .github/setup-results.sh
242
241
working-directory : ./elkarte
242
+
243
+ - name : Send Coverage Reports
244
+ if : ${{ github.event_name == 'pull_request' }}
245
+ uses : codecov/codecov-action@v4
246
+ with :
247
+ files : /home/runner/work/Elkarte/Elkarte/elkarte/tmp/madb.xml
248
+ token : ${{ secrets.CODECOV_TOKEN }}
249
+ verbose : false
243
250
# END MySQL and MariaDB Job
244
251
245
252
# START Postgres Tests
You can’t perform that action at this time.
0 commit comments