Skip to content

first commit

first commit #1

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 29, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.RUN_LATEX == 'true'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10, 3.11]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Run tests
run: pytest -q
optional-latex:
if: env.RUN_LATEX == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install LaTeX (minimal)
run: |
sudo apt-get update && sudo apt-get install -y texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: Sample LaTeX build (optional)
run: |
# Run a sample generator command if available - guard with RUN_LATEX
echo "RUN_LATEX enabled - no sample found or generator not invoked by default"