Skip to content

added basic unit-tests #2

added basic unit-tests

added basic unit-tests #2

Workflow file for this run

---
name: Lint
on:
push:
branches: [latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
- '.pylintrc'
- '.yamllint'
pull_request:
branches: [latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
- '.pylintrc'
- '.yamllint'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 2
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r requirements_lint.txt >/dev/null
pip install -r requirements_test.txt >/dev/null
pip install -r requirements.txt >/dev/null
- name: Running PyLint
run: |
pylint --version
pylint --rcfile .pylintrc --recursive=y .
- name: Running YamlLint
run: |
yamllint --version
yamllint .