Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh6404 committed Jan 13, 2024
1 parent 4c01aa2 commit ebbcdba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/peripheral.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: formatter and checker for python
name: formatter and checker, module build test for python

on:
push:
Expand All @@ -12,26 +12,26 @@ jobs:
peripheral:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
- name: checkout Code
uses: actions/checkout@v2
- name: python3.9
- name: checkout python@3.9
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: pip install formatters and checkers
run: |
pip3 install mypy isort black pyproject-flake8
python3.9 -m pip install mypy isort black pyproject-flake8
- name: pip install torch and numpy for module build
run: |
pip3 install numpy>=1.24 torch>=2.0
python3.9 -m pip install numpy>=1.24 torch>=2.0
- name: check by mypy
run: |
pip3 install -r requirements.txt
python3.9 -m pip install -r requirements.txt
mypy --version
mypy .
- name: reformat and check
run: |
python3 -m black .
python3 -m pflake8 node_scripts/ scripts/ test/
python3.9 -m black .
python3.9 -m pflake8 node_scripts/ scripts/ test/

0 comments on commit ebbcdba

Please sign in to comment.