File tree Expand file tree Collapse file tree 3 files changed +42
-8
lines changed Expand file tree Collapse file tree 3 files changed +42
-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+ branches :
9+ - master
10+ tags :
11+ - test**
12+
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ release :
18+
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : checkout
22+ uses : actions/checkout@v3
23+
24+ - name : Set up Python 3.9
25+ uses : actions/setup-python@v3
26+ with :
27+ python-version : 3.9
28+
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade pip
32+ python -m pip install -e .
33+ python -m pip install -e .[dev]
34+
35+ - name : publish
36+ run : invoke publish_test
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