Skip to content

remove version checks#555

Merged
baggepinnen merged 2 commits intodevfrom
albheim/remove_version_checks
Oct 5, 2021
Merged

remove version checks#555
baggepinnen merged 2 commits intodevfrom
albheim/remove_version_checks

Conversation

@albheim
Copy link
Copy Markdown
Member

@albheim albheim commented Oct 5, 2021

Remake of #356, removes the static version checks since we only support 1.6+ now.

@JuliaControlBot
Copy link
Copy Markdown

This is an automated message.
Plots were compared to references. 11/11 images have changed, see differences below.
After pulling this PR, please update the reference images by creating a PR to ControlExamplePlots.jl here.

Difference Reference Image New Image
✔️ 0.004 Reference New
❌ 0.048 Reference New
⚠️ 0.016 Reference New
✔️ 0.0 Reference New
✔️ 0.002 Reference New
✔️ 0.002 Reference New
✔️ 0.003 Reference New
✔️ 0.003 Reference New
✔️ 0.01 Reference New
✔️ 0.0 Reference New
✔️ 0.011 Reference New

@albheim
Copy link
Copy Markdown
Member Author

albheim commented Oct 5, 2021

Seems this added an extra print to the state space, which broke CI.

Easy to fix, but there are some options:

  • Revert the print
  • Remove a newline in the delayed print, update the ss tests
  • Update all 5 tests

It seems we are a little inconsistent with how much whitespace is printed for different types. Before this change tf and ss was the same (1 space after) while delayed had 2 spaces. This change made ss also have 2 spaces, which also introduced 2 spaces inside delayed since it uses the ss print.

I feel like just having one space is easy and clear enough.

@baggepinnen was there any specific reason to introduce those extra newlines?

EDIT: the added commit reverts the print and updates the delayed to similar behaviour (my one space everywhere suggestion).

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 5, 2021

Codecov Report

❗ No coverage uploaded for pull request base (dev@c31d065). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##             dev     #555   +/-   ##
======================================
  Coverage       ?   85.08%           
======================================
  Files          ?       31           
  Lines          ?     3192           
  Branches       ?        0           
======================================
  Hits           ?     2716           
  Misses         ?      476           
  Partials       ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c31d065...f644db6. Read the comment docs.

@baggepinnen
Copy link
Copy Markdown
Member

The reason was that vectors of systems printed slightly weirdly without the change. Not a big deal though. I wonder why test pass on some Julia versions but not others.

@baggepinnen baggepinnen merged commit 01044bc into dev Oct 5, 2021
@baggepinnen baggepinnen deleted the albheim/remove_version_checks branch October 5, 2021 17:44
@albheim
Copy link
Copy Markdown
Member Author

albheim commented Oct 6, 2021

The github CI shows pass on nightly even though it failed, since we have set it as allowed to fail (if that is what you were talking about).

@baggepinnen
Copy link
Copy Markdown
Member

Ah, it's perhaps not great that it signals green when the tests fail. I think travis would show that allowed subtests failed but report success on the overall test.
Eventually we should perhaps look over our print tests since they have historically broke several times and it's a hassle to update them every second julia release.

@albheim
Copy link
Copy Markdown
Member Author

albheim commented Oct 6, 2021

Ah, it's perhaps not great that it signals green when the tests fail. I think travis would show that allowed subtests failed but report success on the overall test.

Completely agree, remember this as something that was missing from github ci but maybe I'm wrong there.

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.

3 participants