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

Build docs in PR and clean workflows #296

Merged
merged 4 commits into from
Sep 19, 2022

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented Sep 19, 2022

In this PR I allow the CI to build docs on PRs, and do some light cleaning of the workflow files. Closes #294

junpenglao
junpenglao previously approved these changes Sep 19, 2022
@rlouf
Copy link
Member Author

rlouf commented Sep 19, 2022

Waiting for the build to complete to see if we can catch errors.

@codecov
Copy link

codecov bot commented Sep 19, 2022

Codecov Report

Merging #296 (dad27a3) into main (3416363) will not change coverage.
The diff coverage is n/a.

❗ Current head dad27a3 differs from pull request most recent head 2cb9eae. Consider uploading reports for the commit 2cb9eae to get more accurate results

@@           Coverage Diff           @@
##             main     #296   +/-   ##
=======================================
  Coverage   98.69%   98.69%           
=======================================
  Files          46       46           
  Lines        1917     1917           
=======================================
  Hits         1892     1892           
  Misses         25       25           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rlouf rlouf force-pushed the build-docs-in-prs branch 2 times, most recently from 3cfd6c5 to dad27a3 Compare September 19, 2022 09:42
@rlouf rlouf changed the title Build docs in prs Build docs in PR and clean workflows Sep 19, 2022
@junpenglao junpenglao mentioned this pull request Sep 19, 2022
@rlouf
Copy link
Member Author

rlouf commented Sep 19, 2022

Waiting for #277 to be merged to rebase and check that CI passes.

@junpenglao
Copy link
Member

BTW, now that we are building docs on each PR, could we parse the run time and use it as additional benchmark/regression test?

@rlouf
Copy link
Member Author

rlouf commented Sep 19, 2022

That's a good idea although I'd rather we focus our efforts on #163.

The documentation is currently only built when we merge on `main`, which
means that we need to trust that contributors (including ourselves) are
running the examples locally before pushing. This is too much to
ask (and cumbersome), so in this PR we edit the workflows so that docs
are built for each PR. They are only deployed when merging on `main`.
@rlouf rlouf merged commit 26f7815 into blackjax-devs:main Sep 19, 2022
@rlouf rlouf deleted the build-docs-in-prs branch February 22, 2023 14:13
junpenglao pushed a commit that referenced this pull request Mar 12, 2024
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.

Test doc building in CI
2 participants