Merge pull request #150 from metal-stack/auto-generate/v0.40.5 #156
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: Master | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.13 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Test | |
| run: | | |
| pip install .[dev] | |
| python -m unittest discover -v -p 'test_*.py' -s test | |
| - name: Package | |
| run: | | |
| python -m pip install setuptools wheel | |
| python setup.py sdist bdist_wheel | |
| - name: Publish to Test PyPI | |
| uses: pypa/gh-action-pypi-publish@master | |
| with: | |
| password: ${{ secrets.test_pypi_password }} | |
| repository_url: https://test.pypi.org/legacy/ | |
| skip_existing: true |