Verified Commit d6f253d7 authored by WorldTeacher's avatar WorldTeacher
Browse files

fix(ci): update lua-tests before_script to use quotes for command execution

parent fec576cf
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -95,10 +95,10 @@ lua-tests:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
  before_script:
    - apk add --no-cache bash git lua5.1 lua5.1-dev luarocks build-base
    - LUAROCKS_BIN="$(command -v luarocks-5.1 || command -v luarocks)"
    - "$LUAROCKS_BIN" --lua-version=5.1 install busted
    - "$LUAROCKS_BIN" --lua-version=5.1 install luacov
    - "$LUAROCKS_BIN" --lua-version=5.1 install luacov-cobertura
    - 'LUAROCKS_BIN="$(command -v luarocks-5.1 || command -v luarocks)"'
    - '"$LUAROCKS_BIN" --lua-version=5.1 install busted'
    - '"$LUAROCKS_BIN" --lua-version=5.1 install luacov'
    - '"$LUAROCKS_BIN" --lua-version=5.1 install luacov-cobertura'
  script:
    - echo "Running Lua test suite"
    - bash run_tests.sh