Skip to content

Commit

Permalink
fix: ci coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Egon Ferri committed Jul 24, 2024
1 parent c9fdec9 commit cc7e423
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -31,19 +31,19 @@ jobs:
- name: Run tests
run: |
source venv/bin/activate
pytest --junitxml=report.xml --cov test --cov-report=xml
pytest --junitxml=report.xml --cov --cov-report=xml
continue-on-error: true

- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-report
path: report.xml

- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
<a href="https://labs.immobiliare.it/">
<img src="https://labs.immobiliare.it/_next/static/media/immobiliare-labs.03203fa0.svg" width="650" height="auto"/>
</a>
</div>


# Vegeta Super Sayan

> Vegeta System for Universal Performance Evaluation and Resilience Studies with Automated Yield and Analysis for Networks using Vegeta
![CI](https://github.com/immobiliare/vegeta-super-sayan/actions/workflows/ci.yaml/badge.svg)

</div>

This project is a versatile load testing tool designed to evaluate the performance and resilience of web services and APIs. Using the Vegeta load testing framework as its core, this tool provides a user-friendly interface for conducting load tests on a variety of target endpoints with different configurations. It allows users to define test parameters such as request rate, duration, and latency upper bounds, and then systematically explores different request rates to find the optimal performance point or identify breaking points where the system starts to degrade under load.


Expand All @@ -16,7 +20,7 @@ This project is a versatile load testing tool designed to evaluate the performan
- [Introduction](#introduction)
- [Installation](#installation)
- [Configuration](#configuration)
- [Results](#results)
- [Usage](#usage)

## Introduction

Expand Down Expand Up @@ -160,7 +164,7 @@ In this configuration, you can define multiple target endpoints, each with its o

By adjusting these configuration settings, you can tailor the load testing tool to your specific use case, helping you assess the performance and reliability of your web services or APIs under various conditions.

## Usage and results
## Usage

After running the script using the provided command:

Expand Down

0 comments on commit cc7e423

Please sign in to comment.