Skip to content

Use new Python package approach #1

Use new Python package approach

Use new Python package approach #1

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
platform: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
pip install '.[dev]'
pip install black pylint
- name: Check formatting:

Check failure on line 33 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
run: |
black --diff --check Lib --exclude ".*_pb2.*|_version.py"
- name: Run Tests
run: |
pytest tests