workaround to avoid the double-open problem: set the priority to 'opt… #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up OCaml | |
uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-compiler: 5.0.x | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: | | |
opam pin add --dev-repo catala | |
opam install dune | |
opam install . --deps-only --with-test | |
npm ci | |
- name: Build project | |
run: | | |
opam exec -- dune build | |
opam exec -- dune install | |
npm run compile | |
- name: Run tests | |
run: xvfb-run -a npm run test |