Skip to content

release cicd

release cicd #89

Workflow file for this run

name: PR CICD
on:
pull_request:
branches:
- master
types:
- opened
- edited
workflow_dispatch:
inputs:
branch:
description: 'Branch to test'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Pip install package
run: |
python -m pip install --upgrade pip
pip install .
- name: Poetry install package
run: |
pip install poetry
poetry install
lint:
needs: build
steps:
- name: pydocstyle
run: poetry run pydocstyle --convention=google
-name: isort
run: poetry run isort . --check

Check failure on line 37 in .github/workflows/pull_request.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull_request.yaml

Invalid workflow file

You have an error in your yaml syntax on line 37
- name: black
run: poetry run black . --check
- name: flake8
run: poetry run flake8 . --ignore E501,F401,W503 --count
continue-on-error: True
test:
needs: build
steps:
- name: Testing
run: |
poetry run pytest