lambdaisland / kaocha

Full featured next gen Clojure test runner
https://cljdoc.org/d/lambdaisland/kaocha/
Eclipse Public License 1.0
803 stars 84 forks source link

Add "canary" tests. #413

Closed alysbrooks closed 1 year ago

alysbrooks commented 1 year ago

Run tests in various repositories using the latest Kaocha.

Addresses #291 and #301.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (0f04c14) 75.22% compared to head (f9a6b3b) 75.22%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #413 +/- ## ======================================= Coverage 75.22% 75.22% ======================================= Files 52 52 Lines 2797 2797 Branches 285 285 ======================================= Hits 2104 2104 Misses 509 509 Partials 184 184 ``` | Flag | Coverage Δ | | |---|---|---| | integration | `56.41% <ø> (ø)` | | | unit | `69.53% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

alysbrooks commented 1 year ago

If we want it to run only on certain labels we can add the following:

if: contains(github.event.pull_request.labels.*.name, 'needs-canary-run')

alysbrooks commented 1 year ago

Credit where credit is due: The original idea came from the Rust project (their crater tool) and rewrite-clj (the canary tests).

humorless commented 1 year ago

Looks good to me.

alysbrooks commented 1 year ago

Thanks! @humorless

alysbrooks commented 1 year ago

Released in v1.84.1335

[lambdaisland/kaocha "1.84.1335"]                 ;; deps.edn
{lambdaisland/kaocha {:mvn/version "1.84.1335"}}  ;; project.clj