fix prepare to install scipy #150
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: formatter, checker and setup test for python | |
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 checkers | |
run: | | |
pip3 install mypy isort black flake8 | |
- name: pip install torch and numpy for module build | |
run: | | |
pip3 install numpy>=1.24 torch>=2.0 | |
- name: check by mypy | |
run: | | |
cd tracking_ros | |
pip3 install -r requirements.txt | |
mypy --version | |
mypy . | |
- name: reformat and check | |
run: | | |
cd tracking_ros | |
python3 -m black . | |
python3 -m flake8 . |