feat: project governance llm checks #526
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: 'check' | |
python: '3.11' | |
toxpython: 'python3.11' | |
tox_env: 'check' | |
os: 'ubuntu-latest' | |
- name: 'docs' | |
python: '3.11' | |
toxpython: 'python3.11' | |
tox_env: 'docs' | |
os: 'ubuntu-latest' | |
- name: 'py38-cover (ubuntu)' | |
python: '3.8' | |
toxpython: 'python3.8' | |
python_arch: 'x64' | |
tox_env: 'py38-cover' | |
os: 'ubuntu-latest' | |
- name: 'py38-cover (windows)' | |
python: '3.8' | |
toxpython: 'python3.8' | |
python_arch: 'x64' | |
tox_env: 'py38-cover' | |
os: 'windows-latest' | |
- name: 'py38-cover (macos)' | |
python: '3.8' | |
toxpython: 'python3.8' | |
python_arch: 'x64' | |
tox_env: 'py38-cover' | |
os: 'macos-13' | |
- name: 'py38-nocov (ubuntu)' | |
python: '3.8' | |
toxpython: 'python3.8' | |
python_arch: 'x64' | |
tox_env: 'py38-nocov' | |
os: 'ubuntu-latest' | |
- name: 'py38-nocov (windows)' | |
python: '3.8' | |
toxpython: 'python3.8' | |
python_arch: 'x64' | |
tox_env: 'py38-nocov' | |
os: 'windows-latest' | |
- name: 'py38-nocov (macos)' | |
python: '3.8' | |
toxpython: 'python3.8' | |
python_arch: 'x64' | |
tox_env: 'py38-nocov' | |
os: 'macos-13' | |
- name: 'py39-cover (ubuntu)' | |
python: '3.9' | |
toxpython: 'python3.9' | |
python_arch: 'x64' | |
tox_env: 'py39-cover' | |
os: 'ubuntu-latest' | |
- name: 'py39-cover (windows)' | |
python: '3.9' | |
toxpython: 'python3.9' | |
python_arch: 'x64' | |
tox_env: 'py39-cover' | |
os: 'windows-latest' | |
- name: 'py39-cover (macos)' | |
python: '3.9' | |
toxpython: 'python3.9' | |
python_arch: 'x64' | |
tox_env: 'py39-cover' | |
os: 'macos-13' | |
- name: 'py39-nocov (ubuntu)' | |
python: '3.9' | |
toxpython: 'python3.9' | |
python_arch: 'x64' | |
tox_env: 'py39-nocov' | |
os: 'ubuntu-latest' | |
- name: 'py39-nocov (windows)' | |
python: '3.9' | |
toxpython: 'python3.9' | |
python_arch: 'x64' | |
tox_env: 'py39-nocov' | |
os: 'windows-latest' | |
- name: 'py39-nocov (macos)' | |
python: '3.9' | |
toxpython: 'python3.9' | |
python_arch: 'x64' | |
tox_env: 'py39-nocov' | |
os: 'macos-13' | |
- name: 'py310-cover (ubuntu)' | |
python: '3.10' | |
toxpython: 'python3.10' | |
python_arch: 'x64' | |
tox_env: 'py310-cover' | |
os: 'ubuntu-latest' | |
- name: 'py310-cover (windows)' | |
python: '3.10' | |
toxpython: 'python3.10' | |
python_arch: 'x64' | |
tox_env: 'py310-cover' | |
os: 'windows-latest' | |
- name: 'py310-cover (macos)' | |
python: '3.10' | |
toxpython: 'python3.10' | |
python_arch: 'x64' | |
tox_env: 'py310-cover' | |
os: 'macos-13' | |
- name: 'py310-nocov (ubuntu)' | |
python: '3.10' | |
toxpython: 'python3.10' | |
python_arch: 'x64' | |
tox_env: 'py310-nocov' | |
os: 'ubuntu-latest' | |
- name: 'py310-nocov (windows)' | |
python: '3.10' | |
toxpython: 'python3.10' | |
python_arch: 'x64' | |
tox_env: 'py310-nocov' | |
os: 'windows-latest' | |
- name: 'py310-nocov (macos)' | |
python: '3.10' | |
toxpython: 'python3.10' | |
python_arch: 'x64' | |
tox_env: 'py310-nocov' | |
os: 'macos-13' | |
- name: 'py311-cover (ubuntu)' | |
python: '3.11' | |
toxpython: 'python3.11' | |
python_arch: 'x64' | |
tox_env: 'py311-cover' | |
os: 'ubuntu-latest' | |
- name: 'py311-cover (windows)' | |
python: '3.11' | |
toxpython: 'python3.11' | |
python_arch: 'x64' | |
tox_env: 'py311-cover' | |
os: 'windows-latest' | |
- name: 'py311-cover (macos)' | |
python: '3.11' | |
toxpython: 'python3.11' | |
python_arch: 'x64' | |
tox_env: 'py311-cover' | |
os: 'macos-13' | |
- name: 'py311-nocov (ubuntu)' | |
python: '3.11' | |
toxpython: 'python3.11' | |
python_arch: 'x64' | |
tox_env: 'py311-nocov' | |
os: 'ubuntu-latest' | |
- name: 'py311-nocov (windows)' | |
python: '3.11' | |
toxpython: 'python3.11' | |
python_arch: 'x64' | |
tox_env: 'py311-nocov' | |
os: 'windows-latest' | |
- name: 'py311-nocov (macos)' | |
python: '3.11' | |
toxpython: 'python3.11' | |
python_arch: 'x64' | |
tox_env: 'py311-nocov' | |
os: 'macos-13' | |
- name: 'py312-cover (ubuntu)' | |
python: '3.12' | |
toxpython: 'python3.12' | |
python_arch: 'x64' | |
tox_env: 'py312-cover' | |
os: 'ubuntu-latest' | |
- name: 'py312-cover (windows)' | |
python: '3.12' | |
toxpython: 'python3.12' | |
python_arch: 'x64' | |
tox_env: 'py312-cover' | |
os: 'windows-latest' | |
- name: 'py312-cover (macos)' | |
python: '3.12' | |
toxpython: 'python3.12' | |
python_arch: 'x64' | |
tox_env: 'py312-cover' | |
os: 'macos-13' | |
- name: 'py312-nocov (ubuntu)' | |
python: '3.12' | |
toxpython: 'python3.12' | |
python_arch: 'x64' | |
tox_env: 'py312-nocov' | |
os: 'ubuntu-latest' | |
- name: 'py312-nocov (windows)' | |
python: '3.12' | |
toxpython: 'python3.12' | |
python_arch: 'x64' | |
tox_env: 'py312-nocov' | |
os: 'windows-latest' | |
- name: 'py312-nocov (macos)' | |
python: '3.12' | |
toxpython: 'python3.12' | |
python_arch: 'x64' | |
tox_env: 'py312-nocov' | |
os: 'macos-13' | |
- name: 'pypy38-cover (ubuntu)' | |
python: 'pypy-3.8' | |
toxpython: 'pypy3.8' | |
python_arch: 'x64' | |
tox_env: 'pypy38-cover' | |
os: 'ubuntu-latest' | |
- name: 'pypy38-cover (windows)' | |
python: 'pypy-3.8' | |
toxpython: 'pypy3.8' | |
python_arch: 'x64' | |
tox_env: 'pypy38-cover' | |
os: 'windows-latest' | |
- name: 'pypy38-cover (macos)' | |
python: 'pypy-3.8' | |
toxpython: 'pypy3.8' | |
python_arch: 'x64' | |
tox_env: 'pypy38-cover' | |
os: 'macos-13' | |
- name: 'pypy38-nocov (ubuntu)' | |
python: 'pypy-3.8' | |
toxpython: 'pypy3.8' | |
python_arch: 'x64' | |
tox_env: 'pypy38-nocov' | |
os: 'ubuntu-latest' | |
- name: 'pypy38-nocov (windows)' | |
python: 'pypy-3.8' | |
toxpython: 'pypy3.8' | |
python_arch: 'x64' | |
tox_env: 'pypy38-nocov' | |
os: 'windows-latest' | |
- name: 'pypy38-nocov (macos)' | |
python: 'pypy-3.8' | |
toxpython: 'pypy3.8' | |
python_arch: 'x64' | |
tox_env: 'pypy38-nocov' | |
os: 'macos-13' | |
- name: 'pypy39-cover (ubuntu)' | |
python: 'pypy-3.9' | |
toxpython: 'pypy3.9' | |
python_arch: 'x64' | |
tox_env: 'pypy39-cover' | |
os: 'ubuntu-latest' | |
- name: 'pypy39-cover (windows)' | |
python: 'pypy-3.9' | |
toxpython: 'pypy3.9' | |
python_arch: 'x64' | |
tox_env: 'pypy39-cover' | |
os: 'windows-latest' | |
- name: 'pypy39-cover (macos)' | |
python: 'pypy-3.9' | |
toxpython: 'pypy3.9' | |
python_arch: 'x64' | |
tox_env: 'pypy39-cover' | |
os: 'macos-13' | |
- name: 'pypy39-nocov (ubuntu)' | |
python: 'pypy-3.9' | |
toxpython: 'pypy3.9' | |
python_arch: 'x64' | |
tox_env: 'pypy39-nocov' | |
os: 'ubuntu-latest' | |
- name: 'pypy39-nocov (windows)' | |
python: 'pypy-3.9' | |
toxpython: 'pypy3.9' | |
python_arch: 'x64' | |
tox_env: 'pypy39-nocov' | |
os: 'windows-latest' | |
- name: 'pypy39-nocov (macos)' | |
python: 'pypy-3.9' | |
toxpython: 'pypy3.9' | |
python_arch: 'x64' | |
tox_env: 'pypy39-nocov' | |
os: 'macos-13' | |
- name: 'pypy310-cover (ubuntu)' | |
python: 'pypy-3.10' | |
toxpython: 'pypy3.10' | |
python_arch: 'x64' | |
tox_env: 'pypy310-cover' | |
os: 'ubuntu-latest' | |
- name: 'pypy310-cover (windows)' | |
python: 'pypy-3.10' | |
toxpython: 'pypy3.10' | |
python_arch: 'x64' | |
tox_env: 'pypy310-cover' | |
os: 'windows-latest' | |
- name: 'pypy310-cover (macos)' | |
python: 'pypy-3.10' | |
toxpython: 'pypy3.10' | |
python_arch: 'x64' | |
tox_env: 'pypy310-cover' | |
os: 'macos-13' | |
- name: 'pypy310-nocov (ubuntu)' | |
python: 'pypy-3.10' | |
toxpython: 'pypy3.10' | |
python_arch: 'x64' | |
tox_env: 'pypy310-nocov' | |
os: 'ubuntu-latest' | |
- name: 'pypy310-nocov (windows)' | |
python: 'pypy-3.10' | |
toxpython: 'pypy3.10' | |
python_arch: 'x64' | |
tox_env: 'pypy310-nocov' | |
os: 'windows-latest' | |
- name: 'pypy310-nocov (macos)' | |
python: 'pypy-3.10' | |
toxpython: 'pypy3.10' | |
python_arch: 'x64' | |
tox_env: 'pypy310-nocov' | |
os: 'macos-13' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: ${{ matrix.python_arch }} | |
- name: install dependencies | |
run: | | |
python -mpip install --progress-bar=off -r ci/requirements.txt | |
virtualenv --version | |
pip --version | |
tox --version | |
pip list --format=freeze | |
- name: test | |
env: | |
TOXPYTHON: '${{ matrix.toxpython }}' | |
run: > | |
tox -e ${{ matrix.tox_env }} -v |