mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
Fix Tauri testing (#6462)
# Description of Changes #6402 introduced a Rust test `refresh_token_fallback.rs`, but it wasn't moved properly after the restructure of the `frontend/` folder in #6404. This PR moves the file to the right place, and also hooks up Task and CI rules for `cargo test` since nothing was actually running the test in the first place.
This commit is contained in:
@@ -157,6 +157,9 @@ jobs:
|
|||||||
JPDFIUM_PLATFORMS: ${{ matrix.jpdfium_platforms }}
|
JPDFIUM_PLATFORMS: ${{ matrix.jpdfium_platforms }}
|
||||||
run: task desktop:prepare
|
run: task desktop:prepare
|
||||||
|
|
||||||
|
- name: Run Tauri/Cargo tests
|
||||||
|
run: task desktop:test
|
||||||
|
|
||||||
# DigiCert KeyLocker Setup (Cloud HSM)
|
# DigiCert KeyLocker Setup (Cloud HSM)
|
||||||
- name: Setup DigiCert KeyLocker
|
- name: Setup DigiCert KeyLocker
|
||||||
id: digicert-setup
|
id: digicert-setup
|
||||||
|
|||||||
@@ -78,6 +78,13 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- npx tauri build --bundles appimage
|
- npx tauri build --bundles appimage
|
||||||
|
|
||||||
|
test:
|
||||||
|
desc: "Run Tauri/Cargo tests"
|
||||||
|
deps: [prepare]
|
||||||
|
dir: editor/src-tauri
|
||||||
|
cmds:
|
||||||
|
- cargo test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
desc: "Clean Tauri/Cargo build artifacts"
|
desc: "Clean Tauri/Cargo build artifacts"
|
||||||
dir: editor
|
dir: editor
|
||||||
|
|||||||
Reference in New Issue
Block a user