Use setup.cfg to configure flake8, instead of in the ci code #242
Workflow file for this run
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: rosdep-ci | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python: ['3.7', '3.8', '3.9', '3.10'] | |
include: | |
- os: ubuntu-20.04 | |
python: '3.6' | |
name: rosdep tests | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{matrix.python}} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{matrix.python}} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U -e .[test] codecov pytest-cov | |
- name: Run tests | |
run: | | |
python -m pytest test --cov | |
- name: Check coverage | |
run: | | |
python -m codecov | |