[repo] Licences: the check covers every crate in Cargo.lock, SPDX rule tests; Fabrica test pipeline
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user