From 631ac907d0c107d008f10e27bec9a2b28025ad3a Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 17:39:31 +0200 Subject: [PATCH 1/8] Update python-package.yml --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 74a8098..6cfa89f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: Python package +name: test on: push: From b1fa325ef6be2db84bdeda6669b342c92c9582a5 Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 17:56:46 +0200 Subject: [PATCH 2/8] Update python-package.yml --- .github/workflows/python-package.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6cfa89f..ff29111 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -31,10 +31,14 @@ jobs: pip install -r requirements.txt - name: Test with pytest run: | - python -m pytest -v --cov --cov-report=html --cov-report=term --color=yes + python -m pytest -v --cov=./ --cov-report=xml --cov-report=html --cov-report=term --color=yes + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + file: ./coverage.xml - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: coverage-report - path: htmlcov + path: htmlcov/ From 6ea9b02d0e36d344a06ade81d25a666c00ec4c75 Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 18:01:55 +0200 Subject: [PATCH 3/8] Update python-package.yml --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ff29111..fa4dcab 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,9 +33,9 @@ jobs: run: | python -m pytest -v --cov=./ --cov-report=xml --cov-report=html --cov-report=term --color=yes - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - file: ./coverage.xml + uses: codecov/codecov-action@v3 + with: + file: ./coverage.xml - name: Upload Artifact uses: actions/upload-artifact@v4 with: From c1c81a2ad0122beabb47dc785be81e29270bc484 Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 18:04:31 +0200 Subject: [PATCH 4/8] add badges --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4fc6fce..5299328 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ # VA-AM +[![Documentation Status](https://readthedocs.org/projects/va-am/badge/?version=latest)](https://va-am.readthedocs.io/en/latest/?badge=latest) +[![PyPI version](https://badge.fury.io/py/va-am.svg)](https://badge.fury.io/py/va-am) +[![Conda Version](https://img.shields.io/conda/vn/conda-forge/va-am.svg)](https://anaconda.org/conda-forge/va-am) +[![Tests](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml/badge.svg)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) +[![codecov](https://codecov.io/gh/GheodeAI/va_am/branch/master/graph/badge.svg)](https://codecov.io/gh/GheodeAI/va_am) From 9d21aaa284f173907f13eeaf68a901e57fd2d72c Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 18:07:09 +0200 Subject: [PATCH 5/8] add badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5299328..5d77c94 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Documentation Status](https://readthedocs.org/projects/va-am/badge/?version=latest)](https://va-am.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/va-am.svg)](https://badge.fury.io/py/va-am) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/va-am.svg)](https://anaconda.org/conda-forge/va-am) -[![Tests](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml/badge.svg)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) +[![Tests](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml/badge.svg?event=push&label=Test)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) [![codecov](https://codecov.io/gh/GheodeAI/va_am/branch/master/graph/badge.svg)](https://codecov.io/gh/GheodeAI/va_am) From 48963df071b13ac98501b57fa023dd8940c65cc1 Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 18:08:32 +0200 Subject: [PATCH 6/8] add badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d77c94..b4af425 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Documentation Status](https://readthedocs.org/projects/va-am/badge/?version=latest)](https://va-am.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/va-am.svg)](https://badge.fury.io/py/va-am) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/va-am.svg)](https://anaconda.org/conda-forge/va-am) -[![Tests](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml/badge.svg?event=push&label=Test)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) +[![Tests](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml/badge.svg?label=Test)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) [![codecov](https://codecov.io/gh/GheodeAI/va_am/branch/master/graph/badge.svg)](https://codecov.io/gh/GheodeAI/va_am) From 496f4da1b797883445f8e628e6743a99bcc967ed Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 18:13:38 +0200 Subject: [PATCH 7/8] add badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b4af425..93df1e5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Documentation Status](https://readthedocs.org/projects/va-am/badge/?version=latest)](https://va-am.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/va-am.svg)](https://badge.fury.io/py/va-am) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/va-am.svg)](https://anaconda.org/conda-forge/va-am) -[![Tests](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml/badge.svg?label=Test)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) +[![Tests](https://img.shields.io/github/actions/workflow/status/GheodeAI/va_am/python-package.yml?label=test)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) [![codecov](https://codecov.io/gh/GheodeAI/va_am/branch/master/graph/badge.svg)](https://codecov.io/gh/GheodeAI/va_am) From 807a00d406f43da45a79ba85809f2025abc6a501 Mon Sep 17 00:00:00 2001 From: "Cosmin M. Marina" Date: Mon, 7 Apr 2025 18:14:16 +0200 Subject: [PATCH 8/8] add badges --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 93df1e5..a446ee6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # VA-AM [![Documentation Status](https://readthedocs.org/projects/va-am/badge/?version=latest)](https://va-am.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/va-am.svg)](https://badge.fury.io/py/va-am) -[![Conda Version](https://img.shields.io/conda/vn/conda-forge/va-am.svg)](https://anaconda.org/conda-forge/va-am) +[![Conda Version](https://img.shields.io/conda/vn/conda-forge/va_am.svg)](https://anaconda.org/conda-forge/va_am) [![Tests](https://img.shields.io/github/actions/workflow/status/GheodeAI/va_am/python-package.yml?label=test)](https://github.com/GheodeAI/va_am/actions/workflows/python-package.yml) [![codecov](https://codecov.io/gh/GheodeAI/va_am/branch/master/graph/badge.svg)](https://codecov.io/gh/GheodeAI/va_am)