From 950ab00c2b210f450da0d5be516cfc6026d1cf56 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Wed, 8 Jun 2022 18:12:40 -0400 Subject: [PATCH] ci: run tests with no treesitter parsers installed --- .github/workflows/ci.yml | 3 ++- .github/workflows/env.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16464426ee..b3949578c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -167,11 +167,12 @@ jobs: runner: macos-11.0 os: osx - # The functionaltest-lua test two things simultaneously: + # functionaltest-lua is our dumping ground for non-mainline configurations. # 1. Check that the tests pass with PUC Lua instead of LuaJIT. # 2. Use as oldest/minimum versions of dependencies/build tools we # still explicitly support so we don't accidentally rely on # features that is only available on later versions. + # 3. No treesitter parsers installed. - flavor: functionaltest-lua cc: gcc runner: ubuntu-20.04 diff --git a/.github/workflows/env.sh b/.github/workflows/env.sh index c3959ac104..03f4a10211 100755 --- a/.github/workflows/env.sh +++ b/.github/workflows/env.sh @@ -64,7 +64,7 @@ EOF functionaltest-lua) BUILD_FLAGS="$BUILD_FLAGS -DPREFER_LUA=ON" FUNCTIONALTEST=functionaltest-lua - DEPS_CMAKE_FLAGS="$DEPS_CMAKE_FLAGS -DUSE_BUNDLED_LUAJIT=OFF" + DEPS_CMAKE_FLAGS="$DEPS_CMAKE_FLAGS -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_TS_PARSERS=OFF" ;; *) ;;