Skip to content

Commit ca0a6d5

Browse files
committed
test: fix integration test
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
1 parent ed1cdd2 commit ca0a6d5

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/integration_test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
steps:
6464
- name: Checkout server
65-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
65+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6666
with:
6767
repository: nextcloud/server
6868
submodules: 'true'
@@ -76,7 +76,7 @@ jobs:
7676
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_mysql, pdo_sqlite, pgsql, pdo_pgsql, gd, zip
7777

7878
- name: Checkout llm2 app
79-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
79+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
8080
with:
8181
path: llm2
8282
repository: nextcloud/llm2
@@ -91,7 +91,7 @@ jobs:
9191
expression: "/info/version/text()"
9292

9393
- name: Checkout app
94-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
94+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
9595
with:
9696
path: ${{ env.APP_NAME }}
9797
persist-credentials: false
@@ -152,6 +152,9 @@ jobs:
152152
pipx install poetry
153153
mkdir -p ../llm2-persistent_storage
154154
poetry install
155+
# pyproject.toml pins xllamacpp to the cu128 wheel, which needs libcuda.so.1 at import
156+
# time. The CI runner has no NVIDIA driver, so we swap in the PyPI CPU build for tests.
157+
poetry run pip install --force-reinstall --no-deps xllamacpp
155158
156159
- name: Cache llm2 models
157160
uses: actions/cache/restore@v5

0 commit comments

Comments
 (0)