Skip to content

Commit

Permalink
refactor: Remove workaround for issue ocaml-sf/learn-ocaml#305
Browse files Browse the repository at this point in the history
It was only needed for learn-ocaml v0.12
  • Loading branch information
erikmd committed Oct 13, 2023
1 parent 96531dc commit 9b73f5b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ jobs:
- 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
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'

0 comments on commit 9b73f5b

Please sign in to comment.