Skip to content

Commit 0af36a5

Browse files
committed
! try action
1 parent 862a83e commit 0af36a5

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/setup-failure.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
set +x
99

1010
# 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

.github/setup-results.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ CONFIG="--verbose --configuration .github/phpunit-$DB.xml"
1212
vendor/bin/phpunit ${CONFIG}
1313

1414
# 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

.github/workflows/tests.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,14 @@ jobs:
240240
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
241241
run: .github/setup-results.sh
242242
working-directory: ./elkarte
243+
244+
- name: Send Coverage Reports
245+
if: ${{ github.event_name == 'pull_request' }}
246+
uses: codecov/codecov-action@v4
247+
with:
248+
files: ./tmp/mydb.xml
249+
token: ${{ secrets.CODECOV_TOKEN }}
250+
verbose: false
243251
# END MySQL and MariaDB Job
244252

245253
# START Postgres Tests

0 commit comments

Comments
 (0)