mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 04:25:52 -05:00
Preserve the resolved Windows Properties verification lock [skip ci]
This commit is contained in:
1 parent
2d49ea5c4e
commit
3f2f491fbb
2 files changed
+10034
-2
No files matched your search
+10028
File diff suppressed because it is too large.
Load diff
@@ -24,14 +24,18 @@ jobs:
|
||||
targets: ""
|
||||
command: |
|
||||
set -euo pipefail
|
||||
# Reuse the exact Cargo.lock resolved by the completed native test run.
|
||||
# The reusable gate checks the original tracked lock after this command.
|
||||
trap 'git restore -- Cargo.lock Cargo.toml apps/vectorcraft-web/Cargo.toml' EXIT
|
||||
previous=77ade517ecb2a6ad86feb2f9983a098ad5738fc6
|
||||
candidate=da3876b447adbf0918d7a49c095cd37b3df0bba0
|
||||
sed -i "s/$previous/$candidate/g" Cargo.toml apps/vectorcraft-web/Cargo.toml
|
||||
cp .github/qa/print-4859-vector-windows-properties.Cargo.lock Cargo.lock
|
||||
log="$RUNNER_TEMP/dialog-tests.log"
|
||||
cargo test -p vectorcraft -p vectorcraft-ui-egui --lib dialogs::tests_print 2>&1 | tee "$log"
|
||||
cargo test --locked -p vectorcraft -p vectorcraft-ui-egui --lib dialogs::tests_print 2>&1 | tee "$log"
|
||||
grep -F 'properties_are_kept_for_the_exact_job_and_a_refusal_sends_nothing ... ok' "$log"
|
||||
log="$RUNNER_TEMP/spooler-tests.log"
|
||||
cargo test -p vectorcraft -p vectorcraft-ui-egui --bin vectorcraft printing:: 2>&1 | tee "$log"
|
||||
cargo test --locked -p vectorcraft -p vectorcraft-ui-egui --bin vectorcraft printing:: 2>&1 | tee "$log"
|
||||
grep -F 'exact_queue_uses_opaque_properties_without_repeating_composed_copies ... ok' "$log"
|
||||
|
||||
shared-action:
|
||||
|
||||
Reference in new issue
Block a user