Skip to content

fix(CI): Add ocamlsf/learn-ocaml:0.16.0 #22

fix(CI): Add ocamlsf/learn-ocaml:0.16.0

fix(CI): Add ocamlsf/learn-ocaml:0.16.0 #22

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
name: Run learn-ocaml on the corpus
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
server_image:
- 'ocamlsf/learn-ocaml:0.15.0'
- 'ocamlsf/learn-ocaml:0.16.0'
# TODO: Keep up-to-date
- 'ocamlsf/learn-ocaml:master'
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Create directory www
run: |
mkdir -m 755 www
sudo chown -v 1000:1000 www
- name: Run learn-ocaml on the corpus
run: 'docker run --rm -v "$PWD:/repository" -v "$PWD/www:/home/learn-ocaml/www" ${{ matrix.server_image }} build'