8000 chore: release 1.4.0 version · francozanardi/pictex@8f75590 · GitHub
[go: up one dir, main page]

Skip to content

chore: release 1.4.0 version #23

chore: release 1.4.0 version

chore: release 1.4.0 version #23

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
1C2F uses: actions/upload-artifact@v4
if: failure()
with:
name: regression-images-py${{ matrix.python-version }}
path: tests/
0