ci: don't skip swift anymore

I think this was a nvim 0.6 issue
This commit is contained in:
Stephan Seitz 2022-04-15 16:33:01 +02:00 committed by Stephan Seitz
parent 5633f897a7
commit 901b31f66c
2 changed files with 22 additions and 28 deletions

View file

@ -87,6 +87,4 @@ jobs:
run: echo "SKIP_SWIFT_CHECK=TRUE" >> $GITHUB_ENV run: echo "SKIP_SWIFT_CHECK=TRUE" >> $GITHUB_ENV
- name: Check query files - name: Check query files
env:
SKIP_SWIFT_CHECK: ${{ env.SKIP_SWIFT_CHECK }}
run: $NVIM --headless -c "luafile ./scripts/check-queries.lua" -c "q" run: $NVIM --headless -c "luafile ./scripts/check-queries.lua" -c "q"

View file

@ -47,9 +47,6 @@ local function do_check()
io_print "::group::Check parsers" io_print "::group::Check parsers"
for _, lang in pairs(parsers) do for _, lang in pairs(parsers) do
-- NOTE: this is a temporary workaround to skip swift tests on ubuntu
-- stable and should be removed once neovim 0.7 is released.
if vim.fn.getenv "SKIP_SWIFT_CHECK" == vim.NIL or lang ~= "swift" then
timings[lang] = {} timings[lang] = {}
for _, query_type in pairs(query_types) do for _, query_type in pairs(query_types) do
local before = vim.loop.hrtime() local before = vim.loop.hrtime()
@ -78,7 +75,6 @@ local function do_check()
end end
end end
end end
end
io_print "::endgroup::" io_print "::endgroup::"