mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test (#7968)
* fix(cli): tests read opencv.js from a CI cache, never a CDN mid-test * chore(ci): re-pin the cli test job after its opencv cache step * chore(cli): one-line note on the opencv cache copy
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// Fetches opencv.js and the face models into this machine's cache, verified against opencv.ts's pins, so the
|
||||
// tests copy them from there and none downloads anything.
|
||||
import { loadOpenCv, OPENCV_DIR } from "../src/measure/opencv.ts";
|
||||
|
||||
await loadOpenCv((message) => console.log(message));
|
||||
console.log(`opencv.js ready in ${OPENCV_DIR}`);
|
||||
Reference in New Issue
Block a user