Skip to content

Commit

Permalink
refactor: Remove ocaml-sf/learn-ocaml#305 workaround
Browse files Browse the repository at this point in the history
which was only required for learn-ocaml v0.12
  • Loading branch information
erikmd committed Oct 13, 2023
1 parent 4f49045 commit 7c98cdd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,5 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v3
# # Workaround ocaml-sf/learn-ocaml#305
# - name: Create directory www
# run: |
# mkdir -m 755 www
# if [ "${{ matrix.server_image }}" = "ocamlsf/learn-ocaml:0.12" ]; then
# # Workaround https://github.com/ocaml-sf/learn-ocaml/issues/305 for learn-ocaml 0.12
# find exercises -type d -mindepth 1 -exec bash -c 'mkdir -p -m 755 "www/${1/exercises/static}"' bash "{}" \;
# fi
# sudo chown -R 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'

0 comments on commit 7c98cdd

Please sign in to comment.