Skip to content

chore(deps-dev): bump types-pyyaml from 6.0.12.10 to 6.0.12.11 (#1) #4

chore(deps-dev): bump types-pyyaml from 6.0.12.10 to 6.0.12.11 (#1)

chore(deps-dev): bump types-pyyaml from 6.0.12.10 to 6.0.12.11 (#1) #4

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Quality:
strategy:
fail-fast: true
matrix:
python-version: [3.9]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.4.0
- name: Configure poetry
shell: bash
run: python -m poetry config virtualenvs.in-project true
- name: View poetry version
run: poetry --version
- name: Install dependencies
run: |
python -m poetry install
- name: Run check
run: make test
- name: Run complexity baseline
run: make complexity
Release:
needs: Quality
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Python Semantic Release
uses: relekang/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_API_TOKEN }}