Files
vectorcraft/.github/workflows/print.yml

36 lines
1.3 KiB
YAML

name: VectorCraft Divide and Live Paint hotfix checks
on:
workflow_dispatch:
permissions:
contents: read
jobs:
gate:
uses: storytold/craft-common-actions/.github/workflows/gate.yml@main
with:
os: '["ubuntu-24.04"]'
timeout-minutes: 90
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
dev-strip: true
dev-debug: "0"
packages: >-
pkg-config libxkbcommon-dev libwayland-dev libx11-dev libxcb1-dev libxcursor-dev
libxrandr-dev libxi-dev libfontconfig1-dev libfreetype-dev mesa-vulkan-drivers
libgl1-mesa-dev
command: |
set -euo pipefail
cases=(
planar::tests::divide_and_live_paint_report_the_edge_cap
pathfinder::tests::divide_open_paths_retains_the_existing_segment_cap
tests::pathops::divide_over_work_budget_preserves_art_and_selection
dialogs::live_paint_gaps::tests::a_failed_preview_draws_no_earlier_gaps
)
log="$RUNNER_TEMP/vectorcraft-divide-hotfix.txt"
cargo test --locked -p [email protected] -p vectorcraft-engine -p vectorcraft-ui-egui --lib \
-- --exact --test-threads=1 --color never "${cases[@]}" | tee "$log"
for test in "${cases[@]}"; do
grep -Fqx "test $test ... ok" "$log"
done