File tree Expand file tree Collapse file tree 2 files changed +30
-17
lines changed Expand file tree Collapse file tree 2 files changed +30
-17
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ python-version : ['3.7', '3.8']
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+ - name : Set up Python ${{ matrix.python-version }}
19+ uses : actions/setup-python@v2
20+ with :
21+ python-version : ${{ matrix.python-version }}
22+ - name : Install dependencies
23+ run : |
24+ make init
25+ make requirements
26+ pip install -r requirements-dev.txt
27+ - name : Lint
28+ run : |
29+ make format
Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 python-version : ['3.7', '3.8']
15-
16- steps :
17- - uses : actions/checkout@v2
18- - name : Set up Python ${{ matrix.python-version }}
19- uses : actions/setup-python@v2
20- with :
21- python-version : ${{ matrix.python-version }}
22- - name : Install dependencies
23- run : |
24- make init
25- make requirements
26- pip install -r requirements-dev.txt
27- - name : Lint
28- run : |
29- make format
30- make build
3115 deploy :
3216 name : Deploy
3317 needs : test
3822 uses : actions/setup-python@v2
3923 with :
4024 python-version : 3.8
41- - name : Upload to PyPI
25+ - name : Publish package
4226 env :
4327 TWINE_USERNAME : __token__
4428 TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments