Skip to content

Bump @babel/traverse from 7.4.4 to 7.23.2 in /react-test-app #66

Bump @babel/traverse from 7.4.4 to 7.23.2 in /react-test-app

Bump @babel/traverse from 7.4.4 to 7.23.2 in /react-test-app #66

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e . pip
pip install setuptools wheel twine
- name: Run Tests
run: |
cd develop
python manage.py test reacttools
- name: Build Package
run: |
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}