From 5e9231f04970cdbd4acf96156c3a6c0aa3ea5119 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:41:41 +0100 Subject: [PATCH] Downgrade OteraEngine (#1239) Fixes #1238 Also add CI jobs to catch similar problems earlier --------- Co-authored-by: Martijn Visser --- .github/workflows/python_codegen.yml | 27 +++++++++++++++++++++++++++ Manifest.toml | 6 +++--- Project.toml | 3 +++ 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/python_codegen.yml diff --git a/.github/workflows/python_codegen.yml b/.github/workflows/python_codegen.yml new file mode 100644 index 000000000..3d6cac018 --- /dev/null +++ b/.github/workflows/python_codegen.yml @@ -0,0 +1,27 @@ +name: Python Codegen +on: + push: + branches: [main, update/pixi-lock] + paths-ignore: [".teamcity/**"] + tags: ["*"] + pull_request: + merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true +jobs: + codegen: + name: Codegen + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v4 + - uses: prefix-dev/setup-pixi@v0.5.1 + with: + pixi-version: "latest" + - name: Prepare pixi + run: pixi run install-ci + - name: Test if codegen runs without errors + run: pixi run codegen + - name: Ensure that no code has been generated + run: git diff --exit-code diff --git a/Manifest.toml b/Manifest.toml index 473993c6b..d596926b1 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -2,7 +2,7 @@ julia_version = "1.10.0" manifest_format = "2.0" -project_hash = "01c388f950ce89ba903c883c710bf25774a0b7a3" +project_hash = "a66ce8b152bba81b582cbf6d8a2e07a88d016add" [[deps.ADTypes]] git-tree-sha1 = "41c37aa88889c171f1300ceac1313c06e891d245" @@ -1075,9 +1075,9 @@ version = "6.74.0" [[deps.OteraEngine]] deps = ["Markdown", "Pkg", "TOML"] -git-tree-sha1 = "2a8dc8b023055dbfeff7f752bb7fe3e8c9ab60e9" +git-tree-sha1 = "0d57df750e20a4534a117398dc04eb237d86ea70" uuid = "b2d7f28f-acd6-4007-8b26-bc27716e5513" -version = "0.5.0" +version = "0.4.1" [[deps.PackageCompiler]] deps = ["Artifacts", "Glob", "LazyArtifacts", "Libdl", "Pkg", "Printf", "RelocatableFolders", "TOML", "UUIDs", "p7zip_jll"] diff --git a/Project.toml b/Project.toml index c6c2b70ef..3919b75a2 100644 --- a/Project.toml +++ b/Project.toml @@ -56,3 +56,6 @@ TestEnv = "1e6cf692-eddd-4d53-88a5-2d735e33781b" TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53" TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" + +[compat] +OteraEngine = "0.4"