refactor: do not compare two types #1313
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: pip install this package | |
run: | | |
pip3 install -e .[all] | |
echo "pip freeze" | |
pip3 freeze | |
- name: pip install pytest and mypy | |
run: | | |
pip3 install pytest | |
pip3 install mypy | |
mypy --version | |
- name: Run Pytest | |
run: | | |
pytest -v tests/unittest/ | |
- name: Run mypy | |
run: mypy . | |
- name: Run integration test | |
run: ./tests/integration_test.sh | |
- name: Run regression test | |
run: ./tests/regression_test.py |