epiverse-trace / epidemics

A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
https://epiverse-trace.github.io/epidemics/
Other
8 stars 2 forks source link

Improve C++ linting GHA workflow #204

Closed pratikunterwegs closed 6 months ago

pratikunterwegs commented 6 months ago

This PR edits the Cpp-lint-check workflow to dispatch in a similar way as the R-CMD-check workflow (with pushes to src/ or inst/include/).

pratikunterwegs commented 6 months ago

Workflow fails as expected on file with poor syntax - ~however, unclear whether this dispatch is correct.~ - workflow checked with now deleted pushes (were https://github.com/epiverse-trace/epidemics/commit/bdddb4311944ccb2670d51cd200bda02d458c898); branch hard reset.