Update ci.yml shorted for testing

This commit is contained in:
Nicolas Kruse 2025-06-10 00:06:34 +02:00 committed by GitHub
parent ccf7df8cc2
commit 29eb3a6a70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 75 deletions

View File

@ -7,81 +7,6 @@ on:
branches: [main] branches: [main]
jobs: jobs:
build-ubuntu-no-optional-dependencies:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", 3.13]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install from source and install pytest
run: |
python -m pip install --upgrade pip
python -m pip install -e .
python -m pip install pytest lxml requests
- name: Run tests with pytest (no matplotlib, no pandas)
run: |
pytest tests/test_rendering_markdown.py::test_markdown_styling
pytest tests/test_rendering_markdown.py::test_markdown_table
- name: Install matplotlib
run: |
python -m pip install matplotlib
- name: Run tests with pytest rendering equations (with matplotlib)
run: |
pytest tests/test_rendering_markdown.py::test_markdown_equations
build-ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install LaTeX
run: sudo apt-get install -y texlive-latex-extra texlive-fonts-recommended lmodern texlive-xetex texlive-science
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
- name: Lint code with flake8
run: flake8
- name: Type checking with mypy
run: mypy
- name: Run tests with pytest
run: pytest
- name: Upload rendered files
uses: actions/upload-artifact@v4
if: strategy.job-index == 0
with:
name: rendering-results-ubuntu
path: tests/out/test_*_render*
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest