Skip to content

Commit

Permalink
fix: Address review comments by @yurug
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmd authored and yurug committed Jun 24, 2021
1 parent c24fef8 commit 711102a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-and-test.yml
Expand Up @@ -43,9 +43,6 @@ jobs:
uses: actions/checkout@v2
- name: Build Docker images
run: "make docker-images"
# unneeded
# - name: Run learn-ocaml build on demo-repository
# run: "docker run --rm -v $(pwd)/demo-repository:/repository learn-ocaml -- build"
- name: Pull server_image
if: ${{ matrix.server_image != 'learn-ocaml' }}
run: "docker pull ${{ matrix.server_image }} && docker tag ${{ matrix.server_image }} learn-ocaml"
Expand Down
5 changes: 2 additions & 3 deletions tests/runtests.sh
Expand Up @@ -55,7 +55,8 @@ run_server () {
learn-ocaml --sync-dir=/sync --repo=/repository build serve")

# Wait for the server to be initialized
sleep 2
./wait-for-it.sh localhost:8080 -s -t 10 -- echo 'learn-ocaml started.'
# in case of timeout, return exit code 124 (<> 0)

if [ "$(docker ps -q)" == "" ]; then
red "PROBLEM, server is not running.\n"
Expand All @@ -77,8 +78,6 @@ learn-ocaml --sync-dir=/sync --repo=/repository build serve")
-v "$(pwd)"/"$dir":/home/learn-ocaml/actual \
learn-ocaml-client /bin/sh)

# Wait for the client to be initialized
sleep 2
if [ "$(docker ps -q -f name=client)" == "" ]; then
red "PROBLEM, client is not running.\n"

Expand Down

0 comments on commit 711102a

Please sign in to comment.