Merge pull request #103 from rapyuta-robotics/fix/device-execute-timeout #547
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: Code Quality | |
on: [ push ] | |
jobs: | |
checks: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [ '3.8', '3.9', '3.10' ] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Pipenv | |
run: LC_ALL=C.UTF-8 LANG=C.UTF-8 pip3 install pipenv | |
- name: Install Dependencies | |
run: | | |
export LC_ALL=C.UTF-8 | |
export LANG=C.UTF-8 | |
pipenv install --python ${{ matrix.python-version }} --dev | |
pipenv run pip3 install -U pytest pytest-cov | |
- name: Unit Tests | |
run: LC_ALL=C.UTF-8 LANG=C.UTF-8 pipenv run pytest --cov=rapyuta_io tests/ |