Files

20 lines
704 B
YAML

# Pictor's core: every test, on the Windows runner (Fabrica on Mark's PC), in the background. pdfium is fetched by
# its pinned script; the optional hostile corpus too. LibreOffice, when installed, is used by the PDF-to-Word test.
name: test
on:
push: [main]
manual: true
runner: windows
env:
RUST_BACKTRACE: "1"
steps:
- id: pdfium
run: powershell -NoProfile -ExecutionPolicy Bypass -File scripts/fetch-pdfium.ps1
- id: corpus
run: powershell -NoProfile -ExecutionPolicy Bypass -File fixtures-fetch/fetch.ps1
- id: test
needs: [pdfium, corpus]
run: cargo test --workspace --release
- id: licences
run: node --test scripts/deps.test.mjs && node scripts/deps.mjs --check