Skip to content

Update OS/BLAS test matrix workflow #1036

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
merged 5 commits into from
Aug 8, 2024

Conversation

murrayrm
Copy link
Member

@murrayrm murrayrm commented Aug 8, 2024

This PR updates the OS/BLAS test matrix workflow that is used to test releases against various combinations of operating systems and BLAS implementations. Changes:

  • Found and fixed an issue in nyquist_test.py in which some calls with a manually specified frequency response would generate a user warning and others wouldn't. Both cases are not handled properly (and a redundant check has been removed).
  • Fixed some issues with paths for OpenBLAS on macos that were causing compiler errors.
  • Updated pip-based tests to check out current branch instead of main (mainly useful when using a development branch, like this one).

No changes to the actual control toolbox itself.

@murrayrm murrayrm added this to the 0.10.1 milestone Aug 8, 2024
@coveralls
Copy link

coveralls commented Aug 8, 2024

Coverage Status

coverage: 94.65%. remained the same
when pulling 25e9474 on murrayrm:test_matrix_update-06Aug2024
into b385a9e on python-control:main.

assert issubclass(records[0].category, UserWarning)
assert "encirclements does not match" in str(records[0].message)
else:
pytest.fails("multiple warnings in nyquist_response (?)")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
pytest.fails("multiple warnings in nyquist_response (?)")
pytest.fail("multiple warnings in nyquist_response (?)")

https://docs.pytest.org/en/stable/reference/reference.html#pytest-fail

@murrayrm murrayrm merged commit d1cf152 into python-control:main Aug 8, 2024
24 checks passed
@murrayrm murrayrm deleted the test_matrix_update-06Aug2024 branch August 8, 2024 14:26
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