File tree Expand file tree Collapse file tree 2 files changed +58
-2
lines changed Expand file tree Collapse file tree 2 files changed +58
-2
lines changed Original file line number Diff line number Diff line change 1- name : allure python
1+ name : build allure python
22
33on : [push]
44
2828 with :
2929 python-version : ${{ matrix.python-version }}
3030
31- - name : Install Tox
31+ - name : Install tox
3232 run : pip install tox
3333
3434 - name : Static check ${{ matrix.package }}
Original file line number Diff line number Diff line change 1+ name : release allure python
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Set up Python
14+ uses : actions/setup-python@v1
15+ with :
16+ python-version : ' 3.x'
17+
18+ - name : Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ pip install setuptools wheel twine
22+
23+ - name : Build and publish
24+ env :
25+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
26+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
27+ run : |
28+ pushd allure-python-commons-test
29+ python setup.py sdist bdist_wheel
30+ twine upload dist/*
31+ popd
32+
33+ pushd allure-python-commons
34+ python setup.py sdist bdist_wheel
35+ twine upload dist/*
36+ popd
37+
38+ pushd allure-behave
39+ python setup.py sdist bdist_wheel
40+ twine upload dist/*
41+ popd
42+
43+ pushd allure-pytest
44+ python setup.py sdist bdist_wheel
45+ twine upload dist/*
46+ popd
47+
48+ pushd allure-pytest-bdd
49+ python setup.py sdist bdist_wheel
50+ twine upload dist/*
51+ popd
52+
53+ pushd allure-robotframework
54+ python setup.py sdist bdist_wheel
55+ twine upload dist/*
56+ popd
You can’t perform that action at this time.
0 commit comments