Make ArchFXVariableID hashable and usable in a mapping as a key #58
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Python distributions to PyPI and TestPyPI | |
| on: push | |
| jobs: | |
| build-n-publish: | |
| name: Build and publish Python distributions to PyPI and TestPyPI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python 3.7 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.8 | |
| - name: Install packages | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install -r requirements-build.txt -r requirements-test.txt | |
| - name: Run Tests | |
| run: python3 setup.py test | |
| - name: Build a binary wheel and a source tarball | |
| run: python3 setup.py sdist bdist_wheel | |
| - name: Publish distribution package to PyPI if tagged | |
| if: startsWith(github.ref, 'refs/tags') | |
| uses: pypa/gh-action-pypi-publish@master | |
| with: | |
| user: __token__ | |
| password: ${{ secrets.PYPI_API_TOKEN }} |