-
Notifications
You must be signed in to change notification settings - Fork 219
AB-454: Setup coverage report and send to looker #847
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
Open
jatin3893
wants to merge
8
commits into
develop
Choose a base branch
from
feature/AB-454-coverage-report
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
55f2b00
Merge pull request #845 from postmanlabs/release/v5.0.0
VShingala a01a05d
AB-454: Setup coverage report and send to looker
jatin3893 c791db3
AB-454: Run uploiad job only for 1 node engine
jatin3893 fa4174f
AB-454: Add coverage report action
jatin3893 c5b1093
Update README.md
jatin3893 a6c5c4a
Update test-infra-scripts repo
jatin3893 8867c7c
Revert README file changes
jatin3893 7001962
retrigger checks
aviralpostman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# owned by test infrastructure team | ||
name: 'Quality Check Action' | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
GITHUB_BRANCH: ${{ github.head_ref || github.ref_name }} | ||
GH_TOKEN: ${{ github.token }} | ||
GH_BASE_SHA: ${{ github.event.pull_request.base.sha }} | ||
GH_HEAD_SHA: ${{ github.event.pull_request.head.sha }} | ||
GITHUB_REPOSITORY: ${{ github.repository }} | ||
|
||
jobs: | ||
track-unit-test-coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Track unit-test coverage | ||
uses: postmanlabs/test-infra-scripts/.github/actions/coverage-pr-comment-action@main | ||
with: | ||
jobName: 'Unit-Tests' | ||
coverageType: unit | ||
squad: api-builder | ||
artifactSource: coverage-summary-unit | ||
sonarqube_check: false | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | ||
QE_HEVO_WEBHOOK_URL: ${{ secrets.QE_HEVO_WEBHOOK_URL }} | ||
QE_HEVO_ACCESS_KEY: ${{ secrets.QE_HEVO_ACCESS_KEY }} | ||
QE_HEVO_SECRET_KEY: ${{ secrets.QE_HEVO_SECRET_KEY }} | ||
POSTMAN_NPM_TOKEN: ${{ secrets.POSTMAN_NPM_TOKEN }} | ||
|
||
track-integration-test-coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Track integration-test coverage | ||
uses: postmanlabs/test-infra-scripts/.github/actions/coverage-pr-comment-action@main | ||
with: | ||
jobName: 'Regression' | ||
coverageType: integration | ||
squad: api-builder | ||
artifactSource: coverage-summary-integration | ||
sonarqube_check: false | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | ||
QE_HEVO_WEBHOOK_URL: ${{ secrets.QE_HEVO_WEBHOOK_URL }} | ||
QE_HEVO_ACCESS_KEY: ${{ secrets.QE_HEVO_ACCESS_KEY }} | ||
QE_HEVO_SECRET_KEY: ${{ secrets.QE_HEVO_SECRET_KEY }} | ||
POSTMAN_NPM_TOKEN: ${{ secrets.POSTMAN_NPM_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The
test-unit
andtest-regression
scripts share many flags; consider extracting common NYC options into a reusable npm script or a configuration file to reduce duplication.Copilot uses AI. Check for mistakes.