Skip to content

Make into a proper python package w/ standalone protocol definitions #15

Make into a proper python package w/ standalone protocol definitions

Make into a proper python package w/ standalone protocol definitions #15

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
working-directory: .
run: pip install -r requirements.txt
with:

Check failure on line 40 in .github/workflows/avro-python.yaml

View workflow run for this annotation

GitHub Actions / Python CI

Invalid workflow file

The workflow is not valid. .github/workflows/avro-python.yaml (Line: 40, Col: 9): Unexpected value 'with'
working-directory: .
- name: Run Unit Tests
run: python -m unittest *_test.py