8000 docs(example): update code-to-image example, change colors, code, and use firecode font with ligatures to show pictex shaping support · francozanardi/pictex@a084b95 · GitHub
[go: up one dir, main page]

Skip to content

docs(example): update code-to-image example, change colors, code, and… #36

docs(example): update code-to-image example, change colors, code, and…

docs(example): update code-to-image example, change colors, code, and… #36

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies for Skia
run: |
sudo apt-get update
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections
sudo apt-get install -y \
libfontconfig1 \
libegl1-mesa \
ttf-mscorefonts-installer
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Run type checking with mypy
run: |
mypy src/pictex
- name: Run tests with coverage
run: |
pytest --cov=src/pictex --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
- name: Upload regression test artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: regression-images-py${{ matrix.python-version }}
path: tests/
0