Skip to content

[ISSUE-3709] Fix Dragging of tasks in CW that have predecessor #71

[ISSUE-3709] Fix Dragging of tasks in CW that have predecessor

[ISSUE-3709] Fix Dragging of tasks in CW that have predecessor #71

Workflow file for this run

# This workflow will upload a Python Package using Twine when a PR is merged.
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Upload Python Package
on:
pull_request:
types:
- closed
permissions:
contents: read
jobs:
deploy:
if: github.event.pull_request.merged == true
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade -r requirements.txt
pip install --upgrade -r requirements_test.txt
python setup.py install
- name: Run tests
run: |
flake8 .
python setup.py test
- name: Create source distribution
run: |
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}