File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 strategy :
1212 fail-fast : false
1313 matrix :
14- python-version : [3.7, 3.8, 3. 9]
15- os : [ubuntu-18.04 ]
14+ python-version : [3.9]
15+ os : [ubuntu-latest ]
1616
1717 steps :
1818 - name : Checkout
2828 pip install -r requirements.txt
2929 pip install -r requirements_dev.txt
3030 - name : Run tests
31- run : tox
31+ run : tox -vv
3232
3333 release :
3434 name : Release
@@ -39,25 +39,21 @@ jobs:
3939 uses : actions/checkout@v2
4040 with :
4141 fetch-depth : 0
42-
43- - name : Setup Node.js
44- uses : actions/setup-node@v2
45- with :
46- node-version : ' 16'
47-
48- - name : Setup
49- run : npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/git @semantic-release/release-notes-generator semantic-release-pypi
50-
51- - name : Set up python
52- uses : actions/setup-python@v2
42+ - name : Set up Python
43+ uses : actions/setup-python@v1
5344 with :
54- python-version : 3.8
55-
56- - name : Install setuptools
57- run : python -m pip install --upgrade setuptools wheel twine
58-
59- - name : Release
45+ python-version : ' 3.x'
46+ - name : Install twine
47+ run : |
48+ pip install twine
49+ pip install wheel
50+ pip install setuptools
51+ - name : Upload wheel
52+ if : ${{ github.ref == 'refs/heads/main' }}
6053 env :
61- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
63- run : npx semantic-release
54+ TWINE_USERNAME : __token__
55+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
56+ TWINE_NON_INTERACTIVE : 1
57+ run : |
58+ python setup.py bdist_wheel
59+ twine upload dist/*.whl
Original file line number Diff line number Diff line change 22universal = 1
33
44[metadata]
5- description-file = README.md
6- version = 1.0.1
5+ description_file = README.md
6+ version = 1.0.2
77
You can’t perform that action at this time.
0 commit comments