Skip to content

Quantization Update #141

Quantization Update

Quantization Update #141

Workflow file for this run

name: Run tests with pytest
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
build:
name: python tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest==7.3.1
- name: Run tests with pytest
run: pytest
- name: Install pre-commit hook
run: |
pip install pre-commit==3.3.3
pre-commit install
- name: Linting
run: pre-commit run --all-files
- name: Check docstring coverage
run: |
pip install interrogate
interrogate -vv --ignore-init-method --ignore-module --ignore-nested-functions --ignore-magic --ignore-regex "__repr__" --fail-under 40 trailmet