Skip to content

add pytest test cases with real files #95

add pytest test cases with real files

add pytest test cases with real files #95

Workflow file for this run

#
# Run static code analysis.
#
name: Static Analysis
on:
- push
- pull_request
jobs:
static-check:
name: Run Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-dev-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-dev-
- name: Install dependencies
run: |
pip install virtualenv
make venv reqs-install
- name: Analysing the code with mypy
run: |
make mypy
- name: Analysing the code with pylint
run: |
make lint