Skip to content

Commit afb9935

Browse files
committed
Use latest template
1 parent 0047e96 commit afb9935

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

.github/workflows/ci-app-catala.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,18 @@ jobs:
4141
- name: Run Python tests
4242
run: make test-coverage
4343

44-
# Note: Catala CI image has an issue with missing gmpy2 package and not pinnable to 1.1.0
45-
# https://github.com/CatalaLang/catala/issues/979
4644
catala-test:
4745
name: Catala Tests
4846
runs-on: ubuntu-latest
4947
steps:
5048
- uses: actions/checkout@v4
5149

52-
- name: Set-up OCaml
53-
uses: ocaml/setup-ocaml@v3
54-
with:
55-
ocaml-compiler: 5
56-
57-
- name: Install Catala
58-
shell: bash
59-
run: |
60-
opam update
61-
opam install catala=1.1.0
62-
63-
- name: Run Catala Test
64-
shell: bash
50+
- name: Run Catala tests
6551
run: |
66-
eval $(opam env)
67-
make catala-test
52+
docker run --rm \
53+
-v "$GITHUB_WORKSPACE/app-catala":/work \
54+
-w /work \
55+
-e HOME=/home/ocaml \
56+
--user root \
57+
registry.gitlab.inria.fr/catala/ci-images:latest-python \
58+
sh -c 'eval $(opam env) && make SHELL=/bin/sh catala-test'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: b7cf7a4
2+
_commit: 4f60dcd
33
_src_path: https://github.com/navapbc/strata-template-rules-engine-catala
44
app_local_port: 3001
55
app_name: app-catala

0 commit comments

Comments
 (0)