From f6b8125dee73d3b575893b7dfb5836072355a2e7 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Wed, 20 Dec 2023 13:33:55 +0100 Subject: [PATCH] CI: update workflow file --- .github/workflows/examples.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 4f80dd0962..cb98cf96e9 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -22,6 +22,7 @@ env: PYEDB_USE_LEGACY: '1' PYEDB_CI_NO_DISPLAY: '1' MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED: '3.9' + VTK_OSMESA: 'vtk-osmesa==9.2.20230527.dev0' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -72,6 +73,15 @@ jobs: .\.venv\Scripts\Activate.ps1 pip install --no-cache-dir external/pyaedt[full] + - name: "Install specific vtk version with OSMesa bundled" + run: | + .\.venv\Scripts\Activate.ps1 + pip uninstall vtk -y + # Note: the vtk-osmesa used is 9.2.X as 9.3.0 is not working + # well with the use of pyvista in our tests atm. + # TODO: update once a stable versio is working + pip install --extra-index-url https://wheels.vtk.org ${{ env.VTK_OSMESA }} + - name: Execute legacy pyaedt integration examples run: | . .venv\Scripts\Activate.ps1