File tree Expand file tree Collapse file tree 3 files changed +43
-8
lines changed Expand file tree Collapse file tree 3 files changed +43
-8
lines changed Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a single version of Python
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33
4- name : Validation
4+ name : Release
55
6- on :
7- push :
8- branches :
9- - master
10- tags :
11- - v**
6+ on :
7+ release :
8+ types : [published]
129
1310permissions :
1411 contents : read
3330 python -m pip install -e .[dev]
3431
3532 - name : publish
36- run : invoke publish_test
33+ run : invoke publish
Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : Release
5+
6+ on :
7+ push :
8+ tags :
9+ - test**
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ release :
16+
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : checkout
20+ uses : actions/checkout@v3
21+
22+ - name : Set up Python 3.9
23+ uses : actions/setup-python@v3
24+ with :
25+ python-version : 3.9
26+
27+ - name : Install dependencies
28+ run : |
29+ python -m pip install --upgrade pip
30+ python -m pip install -e .
31+ python -m pip install -e .[dev]
32+
33+ - name : build
34+ run : python setup.py bdist_wheel
35+
36+ - name : publish
37+ run : python -m twine upload --repository testpypi dist/*
Original file line number Diff line number Diff line change 66pytest-cov
77coverage
88flake8
9+ invoke
You can’t perform that action at this time.
0 commit comments