Skip to content

Proposal: add more thorough coverage of the crate to CI#41

Merged
Axect merged 6 commits intoAxect:masterfrom
JSorngard:ci_jobs
Apr 25, 2025
Merged

Proposal: add more thorough coverage of the crate to CI#41
Axect merged 6 commits intoAxect:masterfrom
JSorngard:ci_jobs

Conversation

@JSorngard
Copy link
Copy Markdown
Contributor

@JSorngard JSorngard commented Mar 30, 2025

In some of my crates I have collected some useful CI jobs over time, and thought they might be interesting here to!

This PR adds a lot of checks of the crate to CI. All these things are either nice to have verified whenever new code is added to the crate, or nice to know before releasing a new version.

  • Verify formatting
  • Run a cargo check
  • Run clippy
  • Generate docs
  • Build the crate
  • Test the crate on both stable and beta Rust channels
  • Verify semver-compatibillity
  • Check that all examples compile and run

- Verify formatting
- Run a cargo check
- Run clippy
- Generate docs
- Build the crate
- Test the crate on both stable and beta Rust channels
- Verify semver-compatibillity
- Check that all examples compile and run
This requires the host to have a bunch of python packages installed, as well as LaTeX, and I do not know how to do that in CI
@JSorngard
Copy link
Copy Markdown
Contributor Author

I removed the job that runs all examples because I do not know how to install all required dependencies in CI.

@JSorngard
Copy link
Copy Markdown
Contributor Author

JSorngard commented Mar 30, 2025

The current complaints of clippy might be interesting to look at, either to decide that they should be ignored, or to fix (but if so, probably in a different PR).

@JSorngard

This comment was marked as resolved.

@JSorngard JSorngard mentioned this pull request Apr 9, 2025
@Axect
Copy link
Copy Markdown
Owner

Axect commented Apr 25, 2025

Thanks again for your great contributions!

@Axect Axect merged commit 4fa1ce0 into Axect:master Apr 25, 2025
11 of 12 checks passed
Axect added a commit that referenced this pull request Apr 25, 2025
- Enhance CI (#41, #42, #43, #44)
- Add all branches of the complex Lambert W (#40, #45)
@JSorngard JSorngard deleted the ci_jobs branch April 25, 2025 05:25
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.

2 participants