From d60b521a4e8a2b7e1bf5e05576956b711438ea61 Mon Sep 17 00:00:00 2001 From: Louis Gesbert Date: Thu, 1 Feb 2024 01:01:04 +0100 Subject: [PATCH] Fix Python backend and CI --- .github/workflows/harness.yml | 4 +++- runtimes/python/src/catala/runtime.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index 6b2321a5..4a788c60 100644 --- a/.github/workflows/harness.yml +++ b/.github/workflows/harness.yml @@ -121,7 +121,9 @@ jobs: # (permission issues) run: git clone https://github.com/CatalaLang/catala-examples --depth 1 ~/catala-examples - name: Build examples - run: cd ~/catala-examples && opam --cli=2.1 exec -- make build install + run: | + cd ~/catala-examples + opam --cli=2.1 exec -- make build pass_all_tests install - name: Checkout french-law repo run: git clone https://github.com/CatalaLang/french-law --depth 1 ~/french-law - name: Build french-law diff --git a/runtimes/python/src/catala/runtime.py b/runtimes/python/src/catala/runtime.py index 4929fa10..6e47c80d 100644 --- a/runtimes/python/src/catala/runtime.py +++ b/runtimes/python/src/catala/runtime.py @@ -20,6 +20,7 @@ import copy Alpha = TypeVar('Alpha') Beta = TypeVar('Beta') +Gamma = TypeVar('Gamma') # ============ # Type classes