fix flake8 errors (Unnecessary list comprehension) #205
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-18.04 | |
python: '2.7' | |
- os: ubuntu-18.04 | |
python: '3.6' | |
name: rosdep tests | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{matrix.python}} | |
uses: actions/setup-python@v1 | |
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 | |