From 13b8353a00715a1806dc7df721d73bb310832d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mart=C3=ADnez?= <10314744+dmartmillan@users.noreply.github.com> Date: Thu, 4 Aug 2022 12:19:06 +0200 Subject: [PATCH 1/3] feature: added coverage --- .github/workflows/openvariant_tester.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/openvariant_tester.yml b/.github/workflows/openvariant_tester.yml index 81cb1a1..dde9a7a 100644 --- a/.github/workflows/openvariant_tester.yml +++ b/.github/workflows/openvariant_tester.yml @@ -34,12 +34,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest + pip install flake8 pytest pytest-cov pip install -e . - # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - # pip install tqdm - # pip install click - # pip install pyyaml - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -48,6 +44,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - # python3 -m unittest discover -s tests - pytest tests/test_* + pytest --cov tests/test_* + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v3 From 162cfb40edd83486058751f0b6a7b8f54d1edf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mart=C3=ADnez?= <10314744+dmartmillan@users.noreply.github.com> Date: Thu, 4 Aug 2022 12:26:18 +0200 Subject: [PATCH 2/3] fix: fix coverage --- .github/workflows/openvariant_tester.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/openvariant_tester.yml b/.github/workflows/openvariant_tester.yml index dde9a7a..627582f 100644 --- a/.github/workflows/openvariant_tester.yml +++ b/.github/workflows/openvariant_tester.yml @@ -44,7 +44,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest --cov tests/test_* + pytest --cov . - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 From b8f0d09c8c0f2f3aeab970b328494097ba5153b8 Mon Sep 17 00:00:00 2001 From: Federica Brando Date: Thu, 9 Mar 2023 11:54:09 +0100 Subject: [PATCH 3/3] fix: changed version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1a5daa3..4e543e2 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="open-variant", - version="0.7.5", + version="0.7.6", author="BBGLab - Barcelona Biomedical Genomics Lab", author_email='bbglab@irbbarcelona.org', description="OpenVariant provides different functionalities to read, parse and operate different multiple input "