AlgebraicJulia / StockFlow.jl

https://algebraicjulia.github.io/StockFlow.jl/
MIT License
63 stars 6 forks source link

Update Project.toml #122

Closed neonWhiteout closed 1 month ago

neonWhiteout commented 6 months ago

Increment Catlab version max to 0.16.8 and AlgebraicRewriting to 0.3.2

neonWhiteout commented 6 months ago

Unfortunately we'll also need to increment the stockflow version to propagate these changes

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.69%. Comparing base (b767912) to head (c3850aa).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #122 +/- ## ========================================== - Coverage 61.51% 60.69% -0.83% ========================================== Files 10 10 Lines 2193 2193 ========================================== - Hits 1349 1331 -18 - Misses 844 862 +18 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

neonWhiteout commented 6 months ago

@Saityi Do you know how to do this automatically? Whenever Catlab updates, update the Project.toml to accept the new one and increment the version?

Saityi commented 6 months ago

@neonWhiteout I think all you need to do is to modify https://github.com/AlgebraicJulia/StockFlow.jl/blob/main/.github/workflows/julia_ci.yml#L43 along the lines of https://juliaregistries.github.io/CompatHelper.jl/stable/#GitHub -- with bump_version=true https://juliaregistries.github.io/CompatHelper.jl/stable/#CompatHelper.main

See https://github.com/AlgebraicJulia/.github/blob/f8ec80a3d3418c495ede00bb9aa8cafa805f5d2b/.github/workflows/julia_compat.yml#L18 for the one we're using via the uses reference in julia_ci.yml; you may be able to just copy-and-paste it into our julia_ci.yml with a modified main on L48.

I'm not sure if there's a more DRY way of handling it (uses the AlgebraicJulia/.github version, but modifies the main) ...