CI Test Coverage Not Running

Hello! Unfortunately, I a quite new when it comes to continuous integration. We have a project with about 55% test coverage; it's not great, but it's something that we are still working on. Recently, I have tried to integrate our project with sonarcloud (and jacoco) via github actions. Unfortunately, github seems unable to run our unit tests. The result is always Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 Given that this is our log: https://github.com/stargate-rewritten/Stargate-Bukkit/actions/runs/3721461173/jobs/6311631498 Given that this is our pom: https://github.com/stargate-rewritten/Stargate-Bukkit/blob/ci-fix/pom.xml And that this is our workflow file: https://github.com/stargate-rewritten/Stargate-Bukkit/blob/ci-fix/.github/workflows/sonar.yml Does anyone have any idea what I am doing wrong?
6 Replies
JavaBot
JavaBot3y ago
This post has been reserved for your question.
Hey @Pheotis! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here. 💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one.
Pheotis
PheotisOP3y ago
.
imp_o_rt
imp_o_rt3y ago
You only have Jupiter API but not an impl
imp_o_rt
imp_o_rt3y ago
Stack Overflow
Maven not running JUnit 5 tests
I'm trying to get a simple junit test running with maven but it is not detecting any tests. Where am I going wrong? The project directory Project -> src -> test-> java -> MyTest.java R...
Pheotis
PheotisOP3y ago
/thanks im_o_rt ... 🤔
JavaBot
JavaBot3y ago
Post Closed
This post has been closed by <@928755449665298432>.

Did you find this page helpful?