diff --git a/.github/workflows/test_on_push.yaml b/.github/workflows/test_on_push.yaml index d0b1676..78649fc 100644 --- a/.github/workflows/test_on_push.yaml +++ b/.github/workflows/test_on_push.yaml @@ -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 }} @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 0794e41..73a7255 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(luagraphqlparser C CXX) diff --git a/test/parse_test.lua b/test/parse_test.lua index 3b9ba1f..0b57db1 100644 --- a/test/parse_test.lua +++ b/test/parse_test.lua @@ -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()