Skip to content

Commit be55c80

Browse files
committed
prep for drop check_cloudside.py
1 parent f43c95a commit be55c80

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

.coveragerc

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
[run]
33
source = cloudside
44
branch = True
5-
include = cloudside/*.py
65
omit =
76
cloudside/tests/*
87

.github/workflows/check-test-coverage.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
python -m pip install --upgrade pip
2020
pip install pytest pytest-cov pytest-mpl coverage docopt
2121
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
22-
pip install scipy
23-
export MPL_IMGCOMP_TOLERANCE=35
24-
coverage run --source cloudside check_cloudside.py --doctest-modules --cov-report=xml
22+
coverage run -m pytest --doctest-modules --cov-report=xml
2523
- name: Upload coverage to Codecov
2624
uses: codecov/codecov-action@v1
2725
with:

.github/workflows/python-runtests-basic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
3131
- name: Test with pytest
3232
run: |
33-
python check_cloudside.py --runslow
33+
pytest -x

.github/workflows/python-runtests-img-comp.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ jobs:
2626
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2727
- name: Test with pytest
2828
run: |
29-
export MPL_IMGCOMP_TOLERANCE=37
30-
python check_cloudside.py --mpl
29+
pytest -x --mpl

requirements_dev.txt

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
click
2-
requests
3-
numpy
4-
matplotlib
5-
pandas
6-
metar >= 1.5
7-
tqdm
1+
black
2+
codecov
3+
coverage
4+
flake8
85
pytest
6+
pytest-flake8
97
pytest-mpl
108
pytest-cov
11-
coverage

0 commit comments

Comments
 (0)