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

Add one job to test if only documents changed #9807

Merged
merged 28 commits into from
Mar 5, 2024
Merged

Conversation

JaynieBai
Copy link
Member

@JaynieBai JaynieBai commented Mar 1, 2024

Fixes #9782

Context

Currently workflow runs on every update in the PR and runs the full test on the PR with every update.
However we do not need that when only non source code related changes are made, for instance documentations.
Example of the PR: #9774

Changes Made

Add one pre job with script to check the results of command " git diff --name-only HEAD HEAD~1"

Testing

Test in the draft PR #9812. There are no tests running and tests results uploading

Notes

@JaynieBai JaynieBai requested a review from f-alizada March 4, 2024 08:08
@JaynieBai JaynieBai marked this pull request as ready for review March 4, 2024 08:08
@JaynieBai JaynieBai requested a review from a team as a code owner March 4, 2024 08:08
.vsts-dotnet-ci.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@f-alizada f-alizada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks good :)

@JaynieBai JaynieBai merged commit 936d931 into main Mar 5, 2024
9 checks passed
@JaynieBai JaynieBai deleted the dev/jenny/issue9782 branch March 5, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI/CD]: Do not run full tests when only docs are updated
3 participants