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

how to specify reporter output using this action ? #10

Closed
PavanMudigondaTR opened this issue Aug 10, 2022 · 2 comments
Closed

how to specify reporter output using this action ? #10

PavanMudigondaTR opened this issue Aug 10, 2022 · 2 comments

Comments

@PavanMudigondaTR
Copy link

Please clarify how to specify html, json reporter output using this action ?

@ppcano
Copy link
Contributor

ppcano commented Aug 11, 2022

Hey Pavan,

You can pass the --out CLI option as follow:

      - name: Run local k6 test
        uses: grafana/k6-action@v0.2.0
        with:
          filename: test.js
          flags: --out json=results.json

Check out the following tutorial for the entire instructions and the various alternatives to integrate with GitHub actions: https://k6.io/blog/load-testing-using-github-actions/#using-the-json-output-for-time-series-data

@PavanMudigondaTR
Copy link
Author

Hey Pavan,

You can pass the --out CLI option as follow:

      - name: Run local k6 test

        uses: grafana/k6-action@v0.2.0

        with:

          filename: test.js

          flags: --out json=results.json

Check out the following tutorial for the entire instructions and the various alternatives to integrate with GitHub actions: https://k6.io/blog/load-testing-using-github-actions/#using-the-json-output-for-time-series-data

Thanks for quick response. Please close ticket !

@ppcano ppcano closed this as completed Aug 15, 2022
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

No branches or pull requests

2 participants