Skip to content

Commit

Permalink
Add twine-check-workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
hXtreme committed May 3, 2022
1 parent 332f9eb commit 33fb93f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pypi-compatible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: Test to see if package is compatible with PyPI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Check
run: |
twine check dist/*
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

0.3.2 (2022-05-02)
------------------

* Add workflow to check for package compatability with PyPI.
This should make sure that the issue with v0.3.0 does not occur again.

0.3.1 (2022-05-02)
------------------

Expand Down

0 comments on commit 33fb93f

Please sign in to comment.