Fix docker build 2023/11 #75
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: Peripheral test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
peripheral: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: pip install formatters and mypy | |
run: | | |
pip3 install mypy flake8 isort | |
- name: check by mypy | |
run: | | |
pip3 install -r requirements.txt | |
pip3 install numpy==1.23 # to enable numpy's type checking | |
mypy --version | |
mypy . | |
- name: check by isrot and flake8 | |
run: | | |
python3 -m isort example/ test/ node_script/ | |
python3 -m flake8 example/ test/ node_script/ |