Skip to content

Run code blocks with latest k6 #2027

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Run code blocks with latest k6 #2027

wants to merge 6 commits into from

Conversation

mstoykov
Copy link
Contributor

@mstoykov mstoykov commented Aug 10, 2025

What?

Run the code blocks example in documentation with the latest merge k6 instead of with latest release.

As we only run the examples that are in the next folder - they will practically always fail if they are about new functionality.

This also install chromium in the same way we run test in the k6 project.

Checklist

  • I have used a meaningful title for the PR.
  • I have described the changes I've made in the "What?" section above.
  • I have performed a self-review of my changes.
  • I have run the npm start command locally and verified that the changes look good.
  • I have made my changes in the docs/sources/k6/next folder of the documentation.
  • I have reflected my changes in the docs/sources/k6/v{most_recent_release} folder of the documentation.
  • I have reflected my changes in the relevant folders of the two previous k6 versions of the documentation (if still applicable to previous versions).
  • I have made my changes in the docs/sources/k6/next folder of the documentation.

Related PR(s)/Issue(s)

Fixes #1910

@mstoykov mstoykov marked this pull request as ready for review August 11, 2025 14:56
@mstoykov mstoykov added the Area: Tooling/Gatsby Fixes that require working with the CI, styles, or site generator label Aug 11, 2025
@mstoykov
Copy link
Contributor Author

I have left the commits as tehy are and will squash on approval.

You can see the code blocks failing and then working with changes that are still not released as a stable k6 release.

@mstoykov mstoykov requested review from a team, inancgumus and joanlopez and removed request for a team August 11, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Tooling/Gatsby Fixes that require working with the CI, styles, or site generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update "Run code blocks" workflow to work with unreleased k6 features
3 participants