From 1aa693680eaba44d5c13df25ec5bec80e302b12a Mon Sep 17 00:00:00 2001 From: Egon Ferri Date: Wed, 24 Jul 2024 13:01:03 +0200 Subject: [PATCH] fix: ci coverage --- .github/workflows/ci.yaml | 10 +++++----- README.md | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 29bc8d7..ae63a5b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 diff --git a/README.md b/README.md index c918519..461456d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ +![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