diff --git a/.github/workflows/pypi-compatible.yml b/.github/workflows/pypi-compatible.yml new file mode 100644 index 0000000..e7d96df --- /dev/null +++ b/.github/workflows/pypi-compatible.yml @@ -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/* \ No newline at end of file diff --git a/HISTORY.rst b/HISTORY.rst index 6982942..dc8d1d7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -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) ------------------