Skip to content

Add unit tests for the wheeled inverted pendulum #98

Add unit tests for the wheeled inverted pendulum

Add unit tests for the wheeled inverted pendulum #98

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
USING_COVERAGE: "3.8"
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- name: "Checkout sources"
uses: actions/checkout@v3
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip
python -m pip install black coverage coveralls flake8 flit mccabe mypy numpy pylint pytest tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: |
tox -e py
- name: "Coveralls"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github