From 3b15d293d290556aceb8bd8394dc460455f865b8 Mon Sep 17 00:00:00 2001 From: leburgel Date: Fri, 9 Feb 2024 12:20:27 +0100 Subject: [PATCH] Update CI and coverage --- .github/workflows/CI.yml | 11 +++++++---- README.md | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b8e4862..c0376f7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,15 +19,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup MATLAB - uses: matlab-actions/setup-matlab@v1 + uses: matlab-actions/setup-matlab@v2 with: release: R2020b - name: Run tests and generate artifacts - uses: matlab-actions/run-tests@v1 + uses: matlab-actions/run-tests@v2 with: source-folder: src select-by-folder: test @@ -41,6 +41,9 @@ jobs: report_paths: test-results/results.xml - name: Code Coverage Summary Report - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 + if: always() + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: code-coverage/coverage.xml diff --git a/README.md b/README.md index 66b5963..1e5173a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Documentation Status](https://readthedocs.org/projects/tensortrack/badge/?version=latest)](https://tensortrack.readthedocs.io/en/latest/?badge=latest) [![CI](https://github.com/quantumghent/TensorTrack/actions/workflows/CI.yml/badge.svg)](https://github.com/quantumghent/TensorTrack/actions/workflows/CI.yml) - [![Codecov](https://codecov.io/gh/quantumghent/TensorTrack/branch/main/graph/badge.svg?token=1I0XEB69TQ)](https://codecov.io/gh/quantumghent/TensorTrack) + [![codecov](https://codecov.io/gh/quantumghent/TensorTrack/graph/badge.svg?token=NdumVqzQuM)](https://codecov.io/gh/quantumghent/TensorTrack) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![DOI](https://zenodo.org/badge/481924253.svg)](https://zenodo.org/badge/latestdoi/481924253)