Skip to content

Update "Run code blocks" workflow to work with unreleased k6 features #1910

Open
@heitortsergent

Description

@heitortsergent

The run-code-blocks workflow helps us make sure that any code snippets are valid and work with the latest version of k6.

One of the problems we've run into is when opening PRs that are related to a feature that's still unreleased, and will only be available in the next version of k6.

We could use the skip option to skip any code blocks for unreleased features, and then remove those later after the new version of k6 is released, but I think this would likely lead to errors. It's also harder to do if it's a change that affects many files.

We should try to think of some alternatives for how to best handle this, in a way that's easy for maintainers, and allows us to continue to use the workflow.

Metadata

Metadata

Labels

Area: Tooling/GatsbyFixes that require working with the CI, styles, or site generator

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions