Skip to content

Merge pull request #118 from netdevops/build-2.2.3 #101

Merge pull request #118 from netdevops/build-2.2.3

Merge pull request #118 from netdevops/build-2.2.3 #101

name: hier_config build and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1.2.1
- name: Run tests
run: |
poetry install --no-interaction --no-root
poetry run mypy hier_config
poetry run pylint --rcfile=pylintrc hier_config
poetry run flake8 .
poetry run pytest