refactor: Omit logger from coverage reports (#192) #15
This file contains 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
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: GoogleCloudPlatform/release-please-action@v2 | |
id: release | |
with: | |
release-type: python | |
package-name: cubi-tk | |
- uses: actions/checkout@v2 | |
if: ${{ steps.release.outputs.release_created }} | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
if: ${{ steps.release.outputs.release_created }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Build package | |
if: ${{ steps.release.outputs.release_created }} | |
run: | | |
python -m pip install --upgrade pip | |
python setup.py sdist | |
- name: Publish to PyPI | |
if: ${{ steps.release.outputs.release_created }} | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TOKEN }} |