fix matlab agent path and autopep8 #3
Workflow file for this run
This file contains hidden or 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: Simulation Bridge Lint (pylint & autopep8) | |
on: [pull_request, push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Poetry | |
run: | | |
python -m pip install --upgrade pip | |
curl -sSL https://install.python-poetry.org | python - | |
env: | |
POETRY_HOME: ${{ runner.temp }}/poetry | |
- run: echo "${{ runner.temp }}/poetry/bin" >> $GITHUB_PATH | |
- name: Install deps | |
run: poetry install --with dev | |
# ---------- autopep8 ---------- | |
- name: Check formatting with autopep8 | |
run: | | |
poetry run autopep8 --recursive --diff . | |
# ---------- pylint ---------- | |
- name: Run pylint (fail under 8.0/10) | |
run: | | |
poetry run pylint simulation_bridge --fail-under=8 |