Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/test_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != 'tarantool'
strategy:
matrix:
tarantool: ["1.10", "2.6", "2.7"]
tarantool: ["2.10"]
fail-fast: false
runs-on: [ubuntu-latest]
runs-on: [ubuntu-22.04]
steps:
- uses: actions/checkout@v2
- uses: tarantool/setup-tarantool@v1
- uses: actions/checkout@v5
- uses: tarantool/setup-tarantool@v4
with:
tarantool-version: ${{ matrix.tarantool }}

Expand All @@ -35,5 +35,5 @@ jobs:
sed -i 's/lpeg/lulpeg/g' graphql-lua/graphql-0.0.2-1.rockspec
sed -i "s/local lpeg = require 'lpeg'/local lpeg = require 'lulpeg'/g" graphql-lua/graphql/parse.lua
tarantoolctl rocks make --chdir graphql-lua
tarantoolctl rocks install luatest 0.5.2
tarantoolctl rocks install luatest 1.2.1
.rocks/bin/luatest -v
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

project(luagraphqlparser C CXX)

Expand Down
2 changes: 1 addition & 1 deletion test/parse_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local parse = function(str)
end

function g.test_parse_comments()
t.assert_error(parse('{a(b:"#")}').definitions, {})
t.assert_not_equals(parse('{a(b:"#")}').definitions, nil)
end

function g.test_parse_document()
Expand Down