Before submitting a topic, please confirm the following
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml
configuration file.
I have filled out the below sections to the best of my ability.
I understand that the community boards are a free, best-effort tool. While we hope to have someone on the Codecov team resolve your problem quickly, this is not always possible.
Description
I’m currently using codecov-action version3 and github action, jacoco to automate kotlin code coverage analysis.
the coverage output did just fine(codecov, github comment anywhere) but the image doesn’t show in the github comment
CI/CD URL
Codecov Output
Please provide the full output of running the uploader on your CI/CD. This will typically have the Codecov logo as ASCII.
Run codecov/codecov-action@v3
{
execArgs: [
'-n',
'mealkitary-codecov',
'-Q',
'github-action-3.1.4',
'-f',
'./mealkitary-api/build/reports/jacoco/test/jacocoTestReport.xml',
'-f',
'./mealkitary-domain/build/reports/jacoco/test/jacocoTestReport.xml',
'-f',
'./mealkitary-application/build/reports/jacoco/test/jacocoTestReport.xml',
'-f',
'./mealkitary-infrastructure/adapter-persistence-spring-data-jpa/build/reports/jacoco/test/jacocoTestReport.xml',
'-C',
'ba7896823b49986adae5682ed4a8c339c5ed5a60',
'-v'
]
}
==> linux OS detected
https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
Received SHA256SUM 02b055414cc124203ab061ffc45f5497ca39ede5e63a06717a6981c32d7b425f codecov
Received SHA256SUM signature -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmRBbDwACgkQgGuyiu13
mGmm1A//VqiBq//k3fmK6idv6zrbmIQyZz79FqQcDj6KwJ8U5OYDjJ7g5skQHqW4
JY/t82+3FR2Cj6Hfeirzrl7LRK6MBTmoHNZKhzIxCg/kWDbL18KCOKy/tiH1zUGs
zVZkf6kbB2oZo6H25UqkvMzkiQO/dvfIRvyZUQfs04e/ny94QmTRi1XSzymi+bPd
310hYw85GbMuwzOKJeDL8UJ7RXNl53ihdXEPnC1R62+i8dfjmHPWQPr7g8RAcHlS
iclXSC8XkJcoVsUmFOwIcZhOcu+Vgk+ZP0Ifb4+B2en/0bKhxl3w1XRxvun/Cqda
rhrlYeuXDpHFG8XZtI/Ghq3owU9aeACxb4eJK+a0miGbbfMPZPLfaA49c/uz/S9R
AS+LB/sBNajELBqI/E0N93Dq309ocgWevFDGuUBsVn1MuYcqE0klNfzJkZJVAL3T
d1AivBXCjQkLvI1n0iKbezhVr7BV/qKJy2bRJ8ANIEHtgxBhKhTeXIlfFSl1nX3t
J72Y9+H7y6sMjZfmfJ8bozgxQgCkP4TXuytuxUi3g6S5n8nCgP/w8QZyxIdmRnca
/J8VXqtCu4JZLMHTxSHxa7F57VLUh6syprGmyfoRmUmxkc4Ha5X9osRfJ1Ce93p2
vWdrFWF3JeZHSyIjItSV5PKRelvUdXUpwlvsJ2vE9IEFjdWom44=
=U8MG
-----END PGP SIGNATURE-----
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (02b055414cc124203ab061ffc45f5497ca39ede5e63a06717a6981c32d7b425f codecov)
==> Running version latest
==> Running version v0.5.0
/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov -n mealkitary-codecov -Q github-action-3.1.4 -f ./mealkitary-api/build/reports/jacoco/test/jacocoTestReport.xml -f ./mealkitary-domain/build/reports/jacoco/test/jacocoTestReport.xml -f ./mealkitary-application/build/reports/jacoco/test/jacocoTestReport.xml -f ./mealkitary-infrastructure/adapter-persistence-spring-data-jpa/build/reports/jacoco/test/jacocoTestReport.xml -C ba7896823b49986adae5682ed4a8c339c5ed5a60 -v
[2023-06-02T01:17:50.043Z] ['verbose'] Start of uploader: 1685668670043...
[2023-06-02T01:17:50.046Z] ['info']
_____ _
/ ____| | |
| | ___ __| | ___ ___ _____ __
| | / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| | __/ (_| (_) \ V /
\_____\___/ \__,_|\___|\___\___/ \_/
Codecov report uploader 0.5.0
[2023-06-02T01:17:50.053Z] ['info'] => Project root located at: /home/runner/work/mealkitary-server/mealkitary-server
[2023-06-02T01:17:50.058Z] ['info'] -> Token found by environment variables
[2023-06-02T01:17:50.060Z] ['verbose'] Start of network processing...
[2023-06-02T01:17:50.060Z] ['verbose'] Searching for files in /home/runner/work/mealkitary-server/mealkitary-server
[2023-06-02T01:17:50.068Z] ['verbose'] coveragepy is not installed
[2023-06-02T01:17:50.068Z] ['info'] Searching for coverage files...
[2023-06-02T01:17:50.232Z] ['verbose'] Preparing to clean the following coverage paths: ./mealkitary-api/build/reports/jacoco/test/jacocoTestReport.xml,./mealkitary-domain/build/reports/jacoco/test/jacocoTestReport.xml,./mealkitary-application/build/reports/jacoco/test/jacocoTestReport.xml,./mealkitary-infrastructure/adapter-persistence-spring-data-jpa/build/reports/jacoco/test/jacocoTestReport.xml
[2023-06-02T01:17:50.232Z] ['info'] => Found 4 possible coverage files:
./mealkitary-api/build/reports/jacoco/test/jacocoTestReport.xml
./mealkitary-domain/build/reports/jacoco/test/jacocoTestReport.xml
./mealkitary-application/build/reports/jacoco/test/jacocoTestReport.xml
./mealkitary-infrastructure/adapter-persistence-spring-data-jpa/build/reports/jacoco/test/jacocoTestReport.xml
[2023-06-02T01:17:50.233Z] ['verbose'] End of network processing
[2023-06-02T01:17:50.233Z] ['info'] Processing ./mealkitary-api/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-06-02T01:17:50.235Z] ['info'] Processing ./mealkitary-domain/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-06-02T01:17:50.236Z] ['info'] Processing ./mealkitary-application/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-06-02T01:17:50.236Z] ['info'] Processing ./mealkitary-infrastructure/adapter-persistence-spring-data-jpa/build/reports/jacoco/test/jacocoTestReport.xml...
[2023-06-02T01:17:50.240Z] ['info'] Using manual override from args.
[2023-06-02T01:17:50.240Z] ['info'] Detected GitHub Actions as the CI provider.
[2023-06-02T01:17:50.240Z] ['verbose'] -> Using the following env variables:
[2023-06-02T01:17:50.240Z] ['verbose'] GITHUB_ACTION: __codecov_codecov-action
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_HEAD_REF: fix/18
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_REF: refs/pull/19/merge
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_REPOSITORY: le2sky/mealkitary-server
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_RUN_ID: 5150017737
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_SERVER_URL: https://github.com
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_SHA: f0d76a4a6d4045f8603553e9741d7dbaaf84091b
[2023-06-02T01:17:50.241Z] ['verbose'] GITHUB_WORKFLOW: Jacoco Code Coverage & Test Result workflow
[2023-06-02T01:17:50.577Z] ['verbose'] Using the following upload parameters:
[2023-06-02T01:17:50.577Z] ['verbose'] branch
[2023-06-02T01:17:50.577Z] ['verbose'] build
[2023-06-02T01:17:50.577Z] ['verbose'] buildURL
[2023-06-02T01:17:50.577Z] ['verbose'] commit
[2023-06-02T01:17:50.577Z] ['verbose'] job
[2023-06-02T01:17:50.577Z] ['verbose'] pr
[2023-06-02T01:17:50.577Z] ['verbose'] service
[2023-06-02T01:17:50.577Z] ['verbose'] slug
[2023-06-02T01:17:50.577Z] ['verbose'] name
[2023-06-02T01:17:50.577Z] ['verbose'] tag
[2023-06-02T01:17:50.577Z] ['verbose'] flags
[2023-06-02T01:17:50.577Z] ['verbose'] parent
[2023-06-02T01:17:50.579Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.5.0&token=*******&branch=fix%2F18&build=5150017737&build_url=https%3A%2F%2Fgithub.com%2Fle2sky%2Fmealkitary-server%2Factions%2Fruns%2F5150017737%2Fjobs%2F9275367807&commit=ba7896823b49986adae5682ed4a8c339c5ed5a60&job=Jacoco+Code+Coverage+%26+Test+Result+workflow&pr=19&service=github-actions&slug=le2sky%2Fmealkitary-server&name=mealkitary-codecov&tag=&flags=&parent=
[2023-06-02T01:17:50.579Z] ['verbose'] Passed token was 36 characters long
[2023-06-02T01:17:50.579Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-3.1.4-uploader-0.5.0&branch=fix%2F18&build=5150017737&build_url=https%3A%2F%2Fgithub.com%2Fle2sky%2Fmealkitary-server%2Factions%2Fruns%2F5150017737%2Fjobs%2F9275367807&commit=ba7896823b49986adae5682ed4a8c339c5ed5a60&job=Jacoco+Code+Coverage+%26+Test+Result+workflow&pr=19&service=github-actions&slug=le2sky%2Fmealkitary-server&name=mealkitary-codecov&tag=&flags=&parent=
Content-Type: 'text/plain'
Content-Encoding: 'gzip'
X-Reduced-Redundancy: 'false'
[2023-06-02T01:17:51.098Z] ['info'] https://app.codecov.io/github/le2sky/mealkitary-server/commit/ba7896823b49986adae5682ed4a8c339c5ed5a60
https://storage.googleapis.com/codecov/v4/raw/2023-06-02/9CDFC0A7034F3A58C1B91A1FFAABB912/ba7896823b49986adae5682ed4a8c339c5ed5a60/354cd071-a6b3-41a3-9417-7a7c83cfa116.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230602T011751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8daa1c50dbdb6eed300acaf673c9afd996390a70b8296b40de9430e2d756140c
[2023-06-02T01:17:51.098Z] ['verbose'] Returned upload url: https://storage.googleapis.com/codecov/v4/raw/2023-06-02/9CDFC0A7034F3A58C1B91A1FFAABB912/ba7896823b49986adae5682ed4a8c339c5ed5a60/354cd071-a6b3-41a3-9417-7a7c83cfa116.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230602T011751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8daa1c50dbdb6eed300acaf673c9afd996390a70b8296b40de9430e2d756140c
[2023-06-02T01:17:51.098Z] ['info'] Uploading...
[2023-06-02T01:17:51.270Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/le2sky/mealkitary-server/commit/ba7896823b49986adae5682ed4a8c339c5ed5a60"}
[2023-06-02T01:17:51.270Z] ['verbose'] End of uploader: 1227 milliseconds
Expected Results
I was expecting the github PR comment feature to show the layout would work correctly.
Actual Results
i’d like to attach an image, but new user seem to be unable to register media items, so i’ll replace it with a path.
Additional Information
codecov.yml
comment:
layout: "header, reach, diff, flags, files, footer"
behavior: default
require_changes: false
branches:
- develop
- main
coverage:
status:
patch:
default:
target: auto
threshold: 0.1%
project:
default:
target: auto
threshold: 70%