Skip to content

Commit 402ecdd

Browse files
committed
Update coverage settings in ci.yml workflow
1 parent 8a9850f commit 402ecdd

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

.coverage

-80 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ jobs:
4545
pip install codespell
4646
- name: Run codespell
4747
run: codespell
48+
49+
Test-Coverage:
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v4
53+
- uses: actions/setup-python@v5
54+
with:
55+
python-version: '3.12'
56+
- run: |
57+
python -m pip install --upgrade pip
58+
pip install -e '.[dev]'
59+
- run: python -m pytest
4860

4961
Accuracy:
5062
runs-on: ubuntu-latest
@@ -56,7 +68,7 @@ jobs:
5668
- run: |
5769
python -m pip install --upgrade pip
5870
pip install -e .
59-
- run: python tests/test_accuracy.py
71+
- run: python tests/test_accuracy.py --no-cov
6072

6173
API:
6274
runs-on: ubuntu-latest
@@ -68,7 +80,7 @@ jobs:
6880
- run: |
6981
python -m pip install --upgrade pip
7082
pip install -e .
71-
- run: python tests/test_api.py -v
83+
- run: python tests/test_api.py -v --no-cov
7284

7385
Source-Docstrings:
7486
runs-on: ubuntu-latest
@@ -80,7 +92,7 @@ jobs:
8092
- run: |
8193
python -m pip install --upgrade pip
8294
pip install -e .
83-
- run: python tests/test_source_docstrings.py -v
95+
- run: python tests/test_source_docstrings.py -v --no-cov
8496

8597
Utilities:
8698
runs-on: ubuntu-latest
@@ -92,7 +104,7 @@ jobs:
92104
- run: |
93105
python -m pip install --upgrade pip
94106
pip install -e '.[dev]'
95-
- run: python -m pytest tests/test_utilities.py -v
107+
- run: python -m pytest tests/test_utilities.py -v --no-cov
96108

97109
Hydrocarbon-Identification:
98110
runs-on: ubuntu-latest
@@ -104,7 +116,7 @@ jobs:
104116
- run: |
105117
python -m pip install --upgrade pip
106118
pip install -e '.[dev]'
107-
- run: python -m pytest tests/test_hc_identification.py -v -s
119+
- run: python -m pytest tests/test_hc_identification.py -v -s --no-cov
108120

109121
Exporting-Scripts:
110122
runs-on: ubuntu-latest
@@ -116,5 +128,5 @@ jobs:
116128
- run: |
117129
python -m pip install --upgrade pip
118130
pip install -e .
119-
- run: python tests/test_exporters.py
131+
- run: python tests/test_exporters.py --no-cov
120132

0 commit comments

Comments
 (0)