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 "canary" tests. #413

Merged
merged 5 commits into from
May 15, 2023
Merged

Add "canary" tests. #413

merged 5 commits into from
May 15, 2023

Conversation

alysbrooks
Copy link
Member

Run tests in various repositories using the latest Kaocha.

Addresses #291 and #301.

Run tests in various repositorie using the latest Kaochas.
@codecov
Copy link

codecov bot commented May 9, 2023

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
@@           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 to find out more.

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

alysbrooks added 2 commits May 8, 2023 23:43
I can't find a good way to use the default test alias *and* override
just Kaocha without creating a new alias on the command line.
@alysbrooks
Copy link
Member Author

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')

Add (most) Kaocha plugins other than the ClojureScript ones.
@alysbrooks
Copy link
Member Author

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

@humorless
Copy link
Member

Looks good to me.

@alysbrooks
Copy link
Member Author

Thanks! @humorless

@alysbrooks
Copy link
Member Author

Released in v1.84.1335

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

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