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

Add tests and clean up package #20

Merged
merged 4 commits into from
Oct 26, 2024
Merged

Conversation

thomvet
Copy link
Contributor

@thomvet thomvet commented Sep 27, 2024

  • This PR adds the standard Aqua.jl tests, introduces a continuous integration workflow (CI.yml) and finally restructures the files in the test folder into a set of reference tests.
  • Introducing the Aqua tests highlighted a few cases of type piracy; I removed these by introducing small helper functions, rather than extending functionality from LinearAlgebra and Base onto types that this package doesn't own.
  • There was also a bug in the compat entries for Makie (0.2 instead of 0.20 - not the same thing in semver!), but the bug was only on master, not released.
  • The CI.yml workflow is untested. I hope it works, but if not, I am happy to tweak it.

I hope the changes will be seen as useful.

@theogf
Copy link
Contributor

theogf commented Oct 9, 2024

That's really nice @stelmo could this get merged?

@stelmo
Copy link
Owner

stelmo commented Oct 26, 2024

Hi all, sorry for the super long delay! I was on holiday and swamped with other stuff! Merging straight away :)

@stelmo stelmo merged commit 92bf8d6 into stelmo:master Oct 26, 2024
0 of 6 checks passed
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
prefix: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' #"headless", i.e., without display, as CI server doesn't have a monitor
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this command broke the CI

Copy link
Contributor

@theogf theogf Oct 28, 2024

Choose a reason for hiding this comment

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

Also xvfb-run does not seem to exist on MacOS

(or Windows)

Copy link
Contributor

Choose a reason for hiding this comment

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

Trying fixes in #21

@theogf theogf mentioned this pull request Oct 28, 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.

3 participants