Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e54b92c

Browse filesBrowse files
authored
release automation (via allure-framework#459)
1 parent 504570d commit e54b92c
Copy full SHA for e54b92c

2 files changed

+58-2Lines changed: 58 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/build.yaml‎

Copy file name to clipboardExpand all lines: .github/workflows/build.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: allure python
1+
name: build allure python
22

33
on: [push]
44

@@ -28,7 +28,7 @@ jobs:
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 }}
Collapse file

‎.github/workflows/release.yaml‎

Copy file name to clipboard
+56Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.