-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I have added this action today to see JaCoCo's coverage reports. Right now I'm using it for feature/** project branches, but the execution of the entire GitHub workflow hangs, especially in the part shown in the screenshot below.
The configuration of my action is very basic, it is a Maven project, I share it below:
name: Feature CI
on:
push:
branches:
- feature/**
env:
MAVEN_OPTS: '-Dhttps.protocols=TLSv1.2 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true'
MAVEN_CLI_OPTS: '--batch-mode --errors --fail-at-end --show-version'
jobs:
deploy:
name: Feature branch
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
cache: 'maven'
- name: Test and compile project
run: |
chmod +x ./mvnw
./mvnw $MAVEN_CLI_OPTS clean compile test package
- name: Publish test coverage results
uses: PavanMudigonda/jacoco-reporter@v4.5
with:
coverage_results_path: 'target/site/jacoco/jacoco.xml'
coverage_report_title: 'Test coverage results'
coverage_report_name: 'Test coverage results'
github_token: ${{ secrets.GITHUB_TOKEN }}
To Reproduce
Steps to reproduce the behavior:
- Create branch feature/any-test-here
- Push to GitHub
- Start workflow execution
- Workflow never stops and does not finish executing the action
Expected behavior
It is expected to run normally, or if there is an error it will show it and end the workflow.
Desktop (please complete the following information):
Not apply
Smartphone (please complete the following information):
Not apply
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
