fix(ci): install YAML dependency for QMD unit tests
This commit is contained in:
1 parent
7f441d388d
commit
17d01d58f5
1 file changed
+4
@@ -177,12 +177,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
needs: [python]
|
||||
env:
|
||||
QMD_PACKAGE_DIR: ${{ runner.temp }}/qmd-tests
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v22.16.0
|
||||
with:
|
||||
node-version: '24'
|
||||
# CI runs model-free tests only; real-model integration requires a suitable local machine.
|
||||
- name: Install QMD test dependency
|
||||
run: npm install --prefix "$QMD_PACKAGE_DIR" --ignore-scripts --no-package-lock --no-audit --no-fund yaml@2.9.0
|
||||
- name: Run QMD unit tests
|
||||
run: node --test scripts/tests/test-qmd-lib.mjs scripts/tests/test-qmd-daemon.mjs scripts/tests/test-qmd-search.mjs scripts/tests/test-qmd-warm.mjs scripts/tests/test-qmd-benchmark.mjs
|
||||
|
||||
|
||||
Reference in new issue
Block a user