Skip to content
Snippets Groups Projects
Commit 32d0f124 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix CI and conftest

parent 91688bb2
No related branches found
No related tags found
1 merge request!172Draft: Changes for compatibility with pystencils 2.0
Pipeline #67761 failed
......@@ -265,7 +265,7 @@ build-documentation:
pages:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full
stage: deploy
needs: ["build-documentation"]
needs: ["tests-and-coverage", "build-documentation"]
script:
- ls -l
- mv coverage_report html_doc
......
......@@ -10,15 +10,15 @@ import pathlib
import nbformat
from nbconvert import PythonExporter
import sympy
from lbmpy._compat import IS_PYSTENCILS_2
# Trigger config file reading / creation once - to avoid race conditions when multiple instances are creating it
# at the same time
try:
# only for pystencils 1.x
if IS_PYSTENCILS_2:
from pystencils.backend.jit import legacy_cpu
except ImportError:
pass
from lbmpy._compat import IS_PYSTENCILS_2
else:
from pystencils.cpu import cpujit
# trigger cython imports - there seems to be a problem when multiple processes try to compile the same cython file
# at the same time
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment