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 1aa6936
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
</a>
</div>

![CI](https://github.com/immobiliare/vegeta-super-sayan/blob/main/.github/workflows/ci.yaml/badge.svg)

# Vegeta Super Sayan

> Vegeta System for Universal Performance Evaluation and Resilience Studies with Automated Yield and Analysis for Networks using Vegeta
Expand Down

0 comments on commit 1aa6936

Please sign in to comment.