Add unit test for TextNumrEncoder and fix bugs #1033
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style and type checks | |
on: [push, pull_request] | |
jobs: | |
Style-Type-Check: | |
name: Style and Type Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
id: install-dep | |
run: | | |
python -m pip install pip | |
python -m pip install --upgrade pip | |
- name: Black checks | |
if: always() && steps.install-dep.outcome == 'success' | |
run: | | |
pip install black | |
make black VFLAG=-v | |
- name: Flake8 checks | |
if: always() && steps.install-dep.outcome == 'success' | |
run: | | |
pip install flake8 | |
make flake8 VFLAG=-v | |
- name: Mypy checks | |
if: always() && steps.install-dep.outcome == 'success' | |
run: | | |
pip install mypy | |
make mypy VFLAG=-v |