Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be55c80

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

5 files changed

Lines changed: 8 additions & 15 deletions

File tree

‎.coveragerc‎

Lines changed: 0 additions & 1 deletion
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‎

Lines changed: 1 addition & 3 deletions
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‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 1 addition & 2 deletions
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‎

Lines changed: 5 additions & 8 deletions
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)