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

build and smoke checkers #11

Merged
merged 2 commits into from
Nov 8, 2024
Merged

build and smoke checkers #11

merged 2 commits into from
Nov 8, 2024

Conversation

szkiba
Copy link
Collaborator

@szkiba szkiba commented Nov 8, 2024

This version adds two new checkers to the linter:

  • build checker
  • smoke checker

build checker

The check is successful if the extension can be built with the latest k6 release.

smoke checker

The check is successful if there is a smoke test script and it runs successfully with the k6 built with the extension.

Obviously, a prerequisite for a successful run is that the build checker runs successfully, otherwise k6 cannot be built with the extension.

The smoke test script file is searched for in the root of the repository and in the test,tests,examples directories. The name of the smoke test script is one of the following:

  • smoke.js
  • smoke.ts
  • smoke.test.js
  • smoke.test.ts

Closes #10 #9

@szkiba szkiba requested a review from a team as a code owner November 8, 2024 10:15
@szkiba szkiba requested review from pablochacin and removed request for a team and pablochacin November 8, 2024 10:15
@szkiba szkiba merged commit fc082c1 into main Nov 8, 2024
5 checks passed
@szkiba szkiba deleted the prepare-v0.2.0 branch November 8, 2024 10:55
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.

Add smoke test checker
1 participant