Skip to content

Make it easier to work with external protocols & example data #7

Make it easier to work with external protocols & example data

Make it easier to work with external protocols & example data #7

Workflow file for this run

name: Python CI
on: pull_request
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
path: "interface-gen"
max-line-length: 100
unit-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: interface-gen
name: Unit Tests
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run Unit Tests
run: python -m unittest *_test.py