Skip to content

Commit

Permalink
More tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Dec 24, 2024
1 parent 91257be commit 6a0dff5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-code-blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches:
- main
paths:
- 'docs/sources/k6/next/**'

jobs:
run-code-blocks:
Expand All @@ -25,6 +27,6 @@ jobs:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
python scripts/md-k6.py "$file"
python -u scripts/md-k6.py "$file"
echo
done
2 changes: 1 addition & 1 deletion docs/sources/k6/next/using-k6/checks.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ $ k6 run script.js

In this example, note that the check "is status 200" succeeded 100% of the times it was called.

## Add multiple checks
## Add multiple checks.

You can also add multiple checks within a single [check()](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6/check) statement:

Expand Down
1 change: 0 additions & 1 deletion scripts/md-k6.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def run_k6(script: Script) -> None:
f"--log-output=file={logs_file.name}",
"-w",
],
capture_output=True,
)

if result.returncode:
Expand Down

0 comments on commit 6a0dff5

Please sign in to comment.