Skip to content

About

Ecosystem test utilties

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

EpiAwarePackageTools.jl EpiAwarePackageTools logo

Documentation Build Status Code Quality License & DOI Downloads
Stable Dev Test codecov code style: runic Aqua QA JET License: MIT Downloads Downloads

Why EpiAwarePackageTools?

  • Adopt the standard CI, documentation build, quality checks, and AD checks into a package in one call, instead of copying and maintaining them by hand.
  • Re-apply the managed standard later and see where a package has drifted, with a scheduled workflow that carries each improvement to every adopting package.
  • Run Aqua, ExplicitImports, JET, docstring, doctest, and formatting checks, plus AD gradient checks against a ForwardDiff reference, from one test setup.
  • Keep every adopting package's documentation site looking and behaving the same, through a thin docs/make.jl over a shared Documenter and DocumenterVitepress build.
  • Turn benchmark results into a readable PR comment, for packages that opt in to a performance suite.

Package-specific content — the actual distributions, models, or fixtures — stays in each adopting package; the kit only supplies the reusable machinery.

Quick start

Add EpiAwarePackageTools to a package's test environment, then adopt the standard tooling:

using EpiAwarePackageTools

scaffold(pkgdir(MyPackage))   # adopt the standard tooling once

# re-apply managed files later, report drift; `update` is `public`,
# not exported, so call it qualified.
EpiAwarePackageTools.update(pkgdir(MyPackage))

Installation

Once the package is registered in the General registry:

pkg> add EpiAwarePackageTools

or, equivalently:

using Pkg
Pkg.add("EpiAwarePackageTools")

Related packages

  • EpiAwareADTools.jl hosts the org's AD-safety machinery, which the AD gradient checks scaffolded from here exercises across ForwardDiff, ReverseDiff, Enzyme, and Mooncake.
  • Every package in the EpiAware org adopts this kit for its CI, documentation build, and quality checks, so a change made here reaches all of them through the scheduled template sync.

Where to learn more

Part of the EpiAware ecosystem

EpiAwarePackageTools is part of EpiAware, a set of composable tools for infectious disease modelling. See the other packages in the ecosystem.

Contributing

We welcome contributions and new contributors! Please open an issue or pull request on GitHub. This package follows ColPrac and is formatted with Runic.

How to cite

If you use EpiAwarePackageTools in your work, please cite it. Citation metadata lives in CITATION.cff, which GitHub renders as a "Cite this repository" button on the repository page.

Code of conduct

Please note that the EpiAwarePackageTools project is released with a Contributor Code of Conduct. By contributing, you agree to abide by its terms.

License

Released under the MIT License.

About

Ecosystem test utilties

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages