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

Improve rtd pull request preview git diff #681

Merged
merged 5 commits into from
Jul 3, 2024

Conversation

stevepiercy
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Jul 3, 2024

Pull Request Test Coverage Report for Build 9770209385

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.559%

Totals Coverage Status
Change from base Build 9767068472: 0.0%
Covered Lines: 3078
Relevant Lines: 3155

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jul 3, 2024

Pull Request Test Coverage Report for Build 9770341770

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.559%

Totals Coverage Status
Change from base Build 9767068472: 0.0%
Covered Lines: 3078
Relevant Lines: 3155

💛 - Coveralls

@coveralls
Copy link

coveralls commented Jul 3, 2024

Pull Request Test Coverage Report for Build 9770352781

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.559%

Totals Coverage Status
Change from base Build 9767068472: 0.0%
Covered Lines: 3078
Relevant Lines: 3155

💛 - Coveralls

@stevepiercy
Copy link
Member Author

A link to a preview build will not show up in this PR, but will in future PRs.

@coveralls
Copy link

coveralls commented Jul 3, 2024

Pull Request Test Coverage Report for Build 9772285057

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.559%

Totals Coverage Status
Change from base Build 9772012706: 0.0%
Covered Lines: 3078
Relevant Lines: 3155

💛 - Coveralls

@stevepiercy
Copy link
Member Author

I should note that the link appears in the PR description if and only if there are changed docs when the PR is opened, and not on subsequent pushes to the PR. See readthedocs/actions#41

@niccokunzmann
Copy link
Member

Cool!

A link shows up in the test status already:
image

@@ -24,7 +24,7 @@ build:
# If there are no changes (git diff exits with 0) we force the command to return with 183.
# This is a special exit code on Read the Docs that will cancel the build immediately.
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ src/icalender/*.py CHANGES.rst CONTRIBUTING.rst LICENSE.rst README.rst .readthedocs.yaml requirements_docs.txt;
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- . docs/ src/icalendar/*.py *.rst .readthedocs.yaml requirements_docs.txt ':!src/icalendar/fuzzing' ':!src/icalendar/tests' ':!src/icalendar/timezone';
Copy link
Member

Choose a reason for hiding this comment

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

if you diff ., then this is for everything... Ah and I see the exclude... cool. I did not know that was possible. ❤️ I learned something!

Copy link
Member Author

Choose a reason for hiding this comment

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

Without the ., nothing would be included. There may be other improvements, but this is what worked for me.

@niccokunzmann niccokunzmann merged commit 04bea14 into main Jul 3, 2024
15 checks passed
@niccokunzmann niccokunzmann deleted the improve-rtd-pull-request-preview-git-diff branch July 3, 2024 12:38
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.

None yet

3 participants