This repository was archived by the owner on Mar 17, 2023. It is now read-only.
File tree 6 files changed +35
-16
lines changed
6 files changed +35
-16
lines changed Original file line number Diff line number Diff line change 37
37
pip install -r requirements_testing.txt
38
38
make coverage
39
39
- name : Send coverage to codecov.io
40
- uses : codecov/codecov-action@v1
41
- with :
42
- fail_ci_if_error : true
40
+ shell : bash -l {0}
41
+ run : |
42
+ pip install codecov
43
+ bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change
1
+ PYTHON ?= python
2
+
1
3
help :
2
4
@echo " lint - check code style with flake8"
5
+ @echo " code_format - check code style with black"
3
6
@echo " test - run tests only"
4
7
@echo " coverage - run tests and check code coverage"
5
8
@echo " conda_install (recommended) - Install requirements "
6
9
10
+ clean :
11
+ $(PYTHON ) setup.py clean --all
12
+
13
+ install :
14
+ pip install -r requirements.txt
15
+ pip install .
16
+
17
+ dist : FORCE
18
+ $(PYTHON ) setup.py sdist
19
+
7
20
test :
8
- py.test
21
+ pip install -e ' .[test]'
22
+ $(PYTHON ) -m pytest
9
23
10
24
coverage :
11
- coverage run --source orpheum --omit=" */test*" --module py.test
12
- coverage report --show-missing
25
+ $(PYTHON ) setup.py clean --all
26
+ $(PYTHON ) -m pytest --cov=. --cov-report term-missing
27
+
28
+ FORCE :
29
+
30
+ code_format :
31
+ black .
13
32
14
33
lint :
15
34
# ignore:
@@ -22,11 +41,3 @@ conda_install:
22
41
pip install -r requirements.txt
23
42
pip install .
24
43
25
- install :
26
- pip install -r requirements.txt
27
- pip install .
28
-
29
- dist : FORCE
30
- python setup.py sdist
31
-
32
- FORCE :
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ dependencies:
12
12
- notebook
13
13
- numpy
14
14
- pandas
15
+ - pytest
16
+ - pytest-cov
15
17
- pip
16
18
- pyarrow
17
19
- scikit-learn
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ pyarrow
15
15
s3fs
16
16
fastparquet
17
17
pytest
18
+ pytest-cov
Original file line number Diff line number Diff line change 7
7
httmock
8
8
seaborn
9
9
scikit-learn
10
- networkx
10
+ networkx
11
+ pytest-cov
12
+ pytest
Original file line number Diff line number Diff line change 1
1
pytest
2
2
coverage
3
- flake8
3
+ flake8
4
+ pytest-cov
5
+ black
You can’t perform that action at this time.
0 commit comments