Skip to content

Commit

Permalink
cicd: Added fail never optionally #TASK-6252
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed May 17, 2024
1 parent e669e5f commit 572963b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/manual-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: 'Opencga branch to run the tests'
default: 'develop'
required: true
fail-never:
type: boolean
description: 'The process executes all tests even if some fail.'
default: false
required: false

jobs:
test:
Expand Down Expand Up @@ -41,4 +46,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify surefire-report:report --fail-never
run: |
if [ "${{ github.event.inputs.fail-never }}" == "true" ]; then
FAIL_NEVER="--fail-never"
fi
mvn install surefire-report:report ${FAIL_NEVER} -Dcheckstyle.skip

0 comments on commit 572963b

Please sign in to comment.