From 72eb5b9a70085f73c347171ae9ff5eed4836db15 Mon Sep 17 00:00:00 2001 From: Oleg Jukovec Date: Thu, 19 May 2022 11:32:23 +0300 Subject: [PATCH] github-ci: add tests for msgpack.v5 Closes #124 --- .github/workflows/testing.yml | 26 +++++++++++++++++++++++--- CONTRIBUTING.md | 5 +++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 978073afd..eee435bef 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -71,9 +71,15 @@ jobs: - name: Run regression tests run: make test - - name: Run tests with call_17 + - name: Run regression tests with call_17 run: make test TAGS="go_tarantool_call_17" + - name: Run regression tests with msgpack.v5 + run: make test TAGS="go_tarantool_msgpack_v5" + + - name: Run regression tests with msgpack.v5 and call_17 + run: make test TAGS="go_tarantool_msgpack_v5,go_tarantool_call_17" + - name: Run fuzzing tests if: ${{ matrix.fuzzing }} run: make fuzzing TAGS="go_tarantool_decimal_fuzzing" @@ -146,20 +152,34 @@ jobs: source tarantool-enterprise/env.sh make deps - - name: Run tests + - name: Run regression tests run: | source tarantool-enterprise/env.sh make test env: TEST_TNT_SSL: ${{matrix.ssl}} - - name: Run tests with call_17 + - name: Run regression tests with call_17 run: | source tarantool-enterprise/env.sh make test TAGS="go_tarantool_call_17" env: TEST_TNT_SSL: ${{matrix.ssl}} + - name: Run regression tests with msgpack.v5 + run: | + source tarantool-enterprise/env.sh + make test TAGS="go_tarantool_msgpack_v5" + env: + TEST_TNT_SSL: ${{matrix.ssl}} + + - name: Run regression tests with msgpack.v5 and call_17 + run: | + source tarantool-enterprise/env.sh + make test TAGS="go_tarantool_msgpack_v5,go_tarantool_call_17" + env: + TEST_TNT_SSL: ${{matrix.ssl}} + - name: Run fuzzing tests if: ${{ matrix.fuzzing }} run: make fuzzing TAGS="go_tarantool_decimal_fuzzing" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e8d493e40..15bccd3a6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,6 +29,11 @@ make test The tests set up all required `tarantool` processes before run and clean up afterwards. +If you want to run the tests with specific build tags: +```bash +make test TAGS=go_tarantool_ssl_disable,go_tarantool_msgpack_v5 +``` + If you have Tarantool Enterprise Edition 2.10 or newer, you can run additional SSL tests. To do this, you need to set an environment variable 'TEST_TNT_SSL':