Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(api) exclude test report if the actor is dependabot #467

Merged
merged 3 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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