From e869d4ab3f07c728c3c2c8d48736ea4ee5bf4160 Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Tue, 4 Jun 2024 21:20:59 +0200 Subject: [PATCH 1/2] CI: Regenerate DeviationSlave.fmu --- .ci_support/run_docker_linux.sh | 2 ++ .github/workflows/build.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.ci_support/run_docker_linux.sh b/.ci_support/run_docker_linux.sh index 200ec15..6f633e9 100755 --- a/.ci_support/run_docker_linux.sh +++ b/.ci_support/run_docker_linux.sh @@ -10,6 +10,8 @@ cd /tmp pip install . --user --break-system-packages ~/.local/bin/mo2fmu -h ~/.local/bin/mo2fmu ./otfmi/example/file/deviation.mo ./otfmi/example/file/fmu/linux-x86_64/deviation.fmu +pythonfmu build --file ./otfmi/example/file/DeviationSlave.py --dest ./otfmi/example/file/fmu/linux-x86_64 + pytest test -s cd doc && make html BUILDDIR=~/.local/share/otfmi/doc diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dd2caa..b7e4223 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,7 @@ jobs: pip install . mo2fmu -h mo2fmu ./otfmi/example/file/deviation.mo ./otfmi/example/file/fmu/linux-x86_64/deviation.fmu + pythonfmu build --file ./otfmi/example/file/DeviationSlave.py --dest ./otfmi/example/file/fmu/linux-x86_64 pytest test -s conda-windows: From 9563b297e4baedae5069e7dc319c30c926107f1c Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Tue, 4 Jun 2024 21:46:05 +0200 Subject: [PATCH 2/2] CI: Pin sphinx<7 --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 990ded3..94b3eb1 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,6 +1,6 @@ sphinxcontrib-bibtex renku-sphinx-theme -sphinx>=5 +sphinx>=5,<7 sphinx-gallery numpydoc matplotlib