Skip to content

Commit

Permalink
test(api) exclude test report if the actor is dependabot (#467)
Browse files Browse the repository at this point in the history
* test(api) exclude test report if the actor is dependabot

* test(api) change cli coverage badge upload branch

* test(api) Update README
  • Loading branch information
aguszorza authored May 15, 2024
1 parent ea3d4de commit 8b39150
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Test Report
uses: dorny/test-reporter@v1
if: always() # run this step even if previous steps failed
if: github.actor != 'dependabot[bot]'
with:
name: API Tests Report # Name of the check run which will be created
path: ./API/tests-api.xml # Path to test results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cli-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Test Report
uses: dorny/test-reporter@v1
if: always() # run this step even if previous steps failed
if: github.actor != 'dependabot[bot]'
with:
name: CLI Tests Report # Name of the check run which will be created
path: ./CLI/tests-cli.xml # Path to test results
Expand Down Expand Up @@ -111,5 +111,5 @@ jobs:
with:
BADGE_ARTIFACT_NAME: cli_coverage_badge
BADGE_FILE_NAME: cli_coverage_badge.svg
BRANCH_NAME: coverage_badges
BRANCH_NAME: cli_coverage_badge
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ditrit_OGrEE-Core&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ditrit_OGrEE-Core)
[![API Coverage](https://raw.githubusercontent.com/ditrit/OGrEE-Core/coverage_badges/api_coverage_badge.svg)](https://github.com/ditrit/OGrEE-Core/actions/workflows/api-unit-test.yml)
[![CLI Coverage](https://raw.githubusercontent.com/ditrit/OGrEE-Core/coverage_badges/cli_coverage_badge.svg)](https://github.com/ditrit/OGrEE-Core/actions/workflows/cli-unit-test.yml)
[![CLI Coverage](https://raw.githubusercontent.com/ditrit/OGrEE-Core/cli_coverage_badge/cli_coverage_badge.svg)](https://github.com/ditrit/OGrEE-Core/actions/workflows/cli-unit-test.yml)
[![⚙️ Build - Publish](https://github.com/ditrit/OGrEE-Core/actions/workflows/build-deploy.yaml/badge.svg)](https://github.com/ditrit/OGrEE-Core/actions/workflows/build-deploy.yaml)

</div>
Expand Down

0 comments on commit 8b39150

Please sign in to comment.