File tree 2 files changed +24
-5
lines changed 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
env :
14
14
PYTHON_ENV : ci
15
- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
15
+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
16
16
FMP_API_KEY : ${{ secrets.FMP_API_KEY }}
17
17
strategy :
18
18
matrix :
Original file line number Diff line number Diff line change 1
- .PHONY : lint notebook book tests
2
1
2
+ .PHONY : help
3
3
help :
4
4
@echo ================================================================================
5
5
@fgrep -h " ##" $(MAKEFILE_LIST ) | fgrep -v fgrep | sed -e ' s/\\$$//' | sed -e ' s/##//'
6
6
@echo ================================================================================
7
7
8
+
9
+ .PHONY : lint
8
10
lint : # # Lint and fix
9
11
@poetry run ./dev/lint fix
10
12
11
13
14
+ .PHONY : lint-check
12
15
lint-check : # # Lint check only
13
16
@poetry run ./dev/lint
14
17
18
+
19
+ .PHONY : install-dev
15
20
install-dev : # # Install development dependencies
16
21
@./dev/install
17
22
23
+
24
+ .PHONY : notebook
18
25
notebook : # # Run Jupyter notebook server
19
26
@poetry run ./dev/start-jupyter 9095
20
27
21
28
29
+ .PHONY : book
22
30
book : # # Build static jupyter {book}
23
31
poetry run jupyter-book build notebooks --all
24
32
33
+
34
+ .PHONY : sphinx-config
25
35
sphinx-config : # # Build sphinx config
26
36
poetry run jupyter-book config sphinx notebooks
27
37
38
+
39
+ .PHONY : sphinx
28
40
sphinx :
29
41
poetry run sphinx-build notebooks path/to/book/_build/html -b html
30
42
31
- publish : # # release to pypi
32
- @poetry publish --build -u lsbardel -p $(PYPI_PASSWORD )
33
43
44
+ .PHONY : publish
45
+ publish : # # Release to pypi
46
+ @poetry publish --build -u __token__ -p $(PYPI_TOKEN )
47
+
48
+
49
+ .PHONY : publish-book
34
50
publish-book : # # publish the book to github pages
35
51
poetry run ghp-import -n -p -f notebooks/_build/html
36
52
37
- tests : # # unit tests
53
+
54
+ .PHONY : tests
55
+ tests : # # Unit tests
38
56
@./dev/test
39
57
40
58
59
+ .PHONY : outdated
41
60
outdated : # # Show outdated packages
42
61
poetry show -o -a
You can’t perform that action at this time.
0 commit comments