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

[Merged by Bors] - Always run CI #453

Closed
wants to merge 2 commits into from
Closed

[Merged by Bors] - Always run CI #453

wants to merge 2 commits into from

Conversation

yebai
Copy link
Member

@yebai yebai commented Jan 28, 2023

I find the current bors workflow a bit tedious. Most of the time, I summon bors to see the CI results (see e.g. #438). Given that most CI tests are quick (< 10mins), we can always run them by default.

The most time-consuming IntegrationTests is still run by bors to avoid excessive CI runs.

@coveralls
Copy link

coveralls commented Jan 28, 2023

Pull Request Test Coverage Report for Build 4043008160

  • 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 80.553%

Totals Coverage Status
Change from base Build 4010941136: 0.0%
Covered Lines: 1980
Relevant Lines: 2458

💛 - Coveralls

@codecov
Copy link

codecov bot commented Jan 28, 2023

Codecov Report

Base: 80.55% // Head: 80.55% // No change to project coverage 👍

Coverage data is based on head (7f06bfa) compared to base (740dca5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #453   +/-   ##
=======================================
  Coverage   80.55%   80.55%           
=======================================
  Files          20       20           
  Lines        2458     2458           
=======================================
  Hits         1980     1980           
  Misses        478      478           

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

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

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

Looks good to me, a minor suggestion would be to restrict it to PRs to the master branch (even though I assume in practice it won't make a difference).

.github/workflows/CI.yml Show resolved Hide resolved
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
@yebai
Copy link
Member Author

yebai commented Jan 30, 2023

bors r+

bors bot pushed a commit that referenced this pull request Jan 30, 2023
I find the current `bors` workflow a bit tedious. Most of the time, I summon `bors` to see the CI results (see e.g. #438). Given that most `CI` tests are quick (< 10mins), we can always run them by default. 

The most time-consuming `IntegrationTests` is still run by `bors` to avoid excessive CI runs.
@bors
Copy link
Contributor

bors bot commented Jan 30, 2023

Build failed:

@devmotion
Copy link
Member

Test errors should be fixed by TuringLang/Turing.jl#1942.

@devmotion
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Jan 30, 2023
I find the current `bors` workflow a bit tedious. Most of the time, I summon `bors` to see the CI results (see e.g. #438). Given that most `CI` tests are quick (< 10mins), we can always run them by default. 

The most time-consuming `IntegrationTests` is still run by `bors` to avoid excessive CI runs.
@bors bors bot changed the title Always run CI [Merged by Bors] - Always run CI Jan 30, 2023
@bors bors bot closed this Jan 30, 2023
@bors bors bot deleted the hg/always-run-ci branch January 30, 2023 22:25
yebai added a commit that referenced this pull request Mar 2, 2023
…eep existing compat) (#469)

* Fixed a typo in tutorial (#451)

* CompatHelper: bump compat for Turing to 0.24 for package turing, (keep existing compat) (#450)

This pull request changes the compat entry for the `Turing` package from `0.21` to `0.21, 0.24` for package turing.
This keeps the compat entries for earlier versions.



Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>

* Some minor utility improvements (#452)

This PR does the following:
- Moves the `varname_leaves` from `TestUtils` to main module.
  - It can be very useful in Turing.jl for constructing `Chains` and the like, so I think it's a good idea to make it part of the main module rather than keeping it "hidden" there.
- Makes the default `varinfo` in the constructor of `LogDensityFunction` be `model.context` rather than a new `DynamicPPL.DefaultContext`.
  - The `context` pass to `evaluate!!` will override the leaf-context in `model.context`, and so the current default constructor always uses `DefaultContext` as the leaf-context, even if the `Model` has been `contextualize`d with some other leaf-context, e.g. `PriorContext`. This PR fixes this issue.

* Always run CI  (#453)

I find the current `bors` workflow a bit tedious. Most of the time, I summon `bors` to see the CI results (see e.g. #438). Given that most `CI` tests are quick (< 10mins), we can always run them by default. 

The most time-consuming `IntegrationTests` is still run by `bors` to avoid excessive CI runs.

* Compat with new Bijectors.jl (#454)

This PR makes DPPL compatible with the changes to come in TuringLang/Bijectors.jl#214.

Tests are passing locally.

Closes #455 Closes #456

* Another Bijectors.jl compat bound bump (#457)

* CompatHelper: bump compat for MCMCChains to 6 for package test, (keep existing compat) (#467)

This pull request changes the compat entry for the `MCMCChains` package from `4.0.4, 5` to `4.0.4, 5, 6` for package test.
This keeps the compat entries for earlier versions.



Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>

* CompatHelper: bump compat for AbstractPPL to 0.6 for package test, (keep existing compat)

---------

Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com>
Co-authored-by: github-actions[bot] <compathelper_noreply@julialang.org>
Co-authored-by: Tor Erlend Fjelde <tor.erlend95@gmail.com>
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