diff --git a/.github/workflows/test_on_push.yaml b/.github/workflows/test_on_push.yaml index 78649fc..5521bba 100644 --- a/.github/workflows/test_on_push.yaml +++ b/.github/workflows/test_on_push.yaml @@ -11,7 +11,7 @@ jobs: github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != 'tarantool' strategy: matrix: - tarantool: ["2.10"] + tarantool: ["2.11"] fail-fast: false runs-on: [ubuntu-22.04] steps: @@ -19,21 +19,23 @@ jobs: - uses: tarantool/setup-tarantool@v4 with: tarantool-version: ${{ matrix.tarantool }} + - run: | + wget -O /tmp/tt.deb https://github.com/tarantool/tt/releases/download/v2.11.0/tt_2.11.0_amd64.deb + sudo apt install /tmp/tt.deb - name: Build module run: | - tarantoolctl rocks make + tt rocks make - name: Run linter run: | - tarantoolctl rocks install luacheck 0.25.0 + tt rocks install luacheck 0.25.0 .rocks/bin/luacheck . - name: Run tests run: | git clone https://github.com/bjornbytes/graphql-lua - 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 1.2.1 + tt rocks install https://luarocks.org/manifests/gvvaughan/lpeg-1.1.0-2.rockspec + tt rocks make --chdir graphql-lua + tt rocks install luatest 1.2.1 .rocks/bin/luatest -v