From 8123972e8480bf83aa88871212cc537865224d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cahit=20Y=C4=B1ld=C4=B1r=C4=B1m?= <46887237+cahity@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:20:39 +0300 Subject: [PATCH 1/3] add Coveralls --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35f3aca..32f3b48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,6 @@ permissions: jobs: build: - runs-on: ubuntu-latest steps: @@ -31,4 +30,6 @@ jobs: pip install -r requirements.txt - name: Unit tests run: | - pytest -n auto -ra + pytest -n auto -cov=vopy --cov-report=xml -ra + - name: Coveralls + uses: coverallsapp/github-action@v2 From 42f3147ac8f916e2d39adbe610546067b2666386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cahit=20Y=C4=B1ld=C4=B1r=C4=B1m?= <46887237+cahity@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:32:52 +0300 Subject: [PATCH 2/3] typo fix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32f3b48..3e327d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,6 @@ jobs: pip install -r requirements.txt - name: Unit tests run: | - pytest -n auto -cov=vopy --cov-report=xml -ra + pytest -n auto --cov=vopy --cov-report=xml -ra - name: Coveralls uses: coverallsapp/github-action@v2 From becfff5b8918c3157f3245dbc221b72798ba2fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cahit=20Y=C4=B1ld=C4=B1r=C4=B1m?= <46887237+cahity@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:40:25 +0300 Subject: [PATCH 3/3] add coverage badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ac1c560..cb14e32 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ## Vector Optimization with Active Learning [![Test Workflow](https://github.com/Bilkent-CYBORG/VOPy/actions/workflows/test.yml/badge.svg)](https://github.com/Bilkent-CYBORG/VOPy/blob/master/.github/workflows/test.yml) +[![Coverage Status](https://coveralls.io/repos/github/Bilkent-CYBORG/VOPy/badge.svg)](https://coveralls.io/github/Bilkent-CYBORG/VOPy) [![Documentation Status](https://readthedocs.org/projects/vopy/badge/?version=latest)](https://vopy.readthedocs.io/en/latest/) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)