Skip to content

Refactor text on LLM capabilities in paper.md #9

Refactor text on LLM capabilities in paper.md

Refactor text on LLM capabilities in paper.md #9

Workflow file for this run

name: Tests
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies (tkinter + Xvfb)
run: |
sudo apt-get update -qq
sudo apt-get install -y python3-tk xvfb
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run test suite
# xvfb-run ensures a virtual display is available for any code that
# needs one (e.g. tkinter internals on import), even though our tests
# do not open windows.
run: xvfb-run -a pytest tests/ -v --tb=short
env:
MPLBACKEND: Agg
# Prevent keyring from trying to connect to GNOME Keyring / KWallet;
# the test suite installs its own in-memory backend via conftest.py.
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring