Skip to content

chore: update GitHub Actions workflow to improve Pandoc installation … #4

chore: update GitHub Actions workflow to improve Pandoc installation …

chore: update GitHub Actions workflow to improve Pandoc installation … #4

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Disable man-db to speed up pandoc install
run: |
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
sudo dpkg-reconfigure man-db
- name: Install Pandoc
uses: pandoc/actions/setup@v1
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "latest"
- name: Install dependencies
run: |
uv venv
uv pip install -e .
uv pip install pytest
- name: Run tests with pytest
run: uv run pytest