Skip to content

docs: add link to skgsergio comment #33

docs: add link to skgsergio comment

docs: add link to skgsergio comment #33

Workflow file for this run

name: Semantic Release
on:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: 'poetry'
- name: Install dependencies
run: poetry install
- run: poetry run flake8 .
- run: poetry run pytest
release:
needs: tests
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}