Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: allure python
name: build allure python

on: [push]

Expand Down Expand Up @@ -28,7 +28,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install Tox
- name: Install tox
run: pip install tox

- name: Static check ${{ matrix.package }}
Expand Down
56 changes: 56 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: release allure python

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine

- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pushd allure-python-commons-test
python setup.py sdist bdist_wheel
twine upload dist/*
popd

pushd allure-python-commons
python setup.py sdist bdist_wheel
twine upload dist/*
popd

pushd allure-behave
python setup.py sdist bdist_wheel
twine upload dist/*
popd

pushd allure-pytest
python setup.py sdist bdist_wheel
twine upload dist/*
popd

pushd allure-pytest-bdd
python setup.py sdist bdist_wheel
twine upload dist/*
popd

pushd allure-robotframework
python setup.py sdist bdist_wheel
twine upload dist/*
popd