Skip to content

maxoliverbr/k6GithubActions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k6 GitHub Actions Example

This project demonstrates how to use k6, an open-source load testing tool, with GitHub Actions for continuous performance testing. The setup allows you to easily integrate performance testing into your CI/CD pipeline.

Prerequisites

Before using this project, ensure you have the following:

  • k6
  • A GitHub repository where you want to integrate performance testing.

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/maxoliverbr/k6GithubActions.git
  2. Navigate to the project directory:

    cd k6GithubActions
  3. Customize your k6 test script in the scripts directory. You can use the provided example.js as a starting point.

  4. Update the GitHub Actions workflow configuration in .github/workflows/k6.yml as needed, specifying your test script and other parameters.

Running Locally

To run the k6 test locally, use the following command:

k6 run scripts/example.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published