Skip to content

Add new vendor id for V4^ #20

Add new vendor id for V4^

Add new vendor id for V4^ #20

Workflow file for this run

name: CI
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade black
- name: black format check
run: black --check --line-length 120 traffic_light/ test/ setup.py
test:
strategy:
fail-fast: false
max-parallel: 6
matrix:
python-version: [3.8, 3.9, "3.10"]
os: [ubuntu-latest]
include:
- os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup build and test environment
run: |
python -m pip install --upgrade pip
- name: Build Python Package
run: |
python -m pip install -r requirements-dev.txt
- name: Update pytest on >= Python3.10
if: ${{ matrix.python-version == '3.10' || matrix.python-version == '3.11' }}
run: |
python -m pip install pytest==7.0.1
- name: Unit Test with pytest
run: PYTHONPATH=. pytest test --cov=traffic_light --cov-report term-missing