Skip to content

Enforce uniqueness of language names across all scripts #30

Enforce uniqueness of language names across all scripts

Enforce uniqueness of language names across all scripts #30

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
run: |
black --diff --check Lib --exclude ".*_pb2.*|_version.py"
- name: Run Tests
run: |
pytest tests