Skip to content

Commit

Permalink
github-ci: add tests for msgpack.v5
Browse files Browse the repository at this point in the history
Closes #124
  • Loading branch information
oleg-jukovec committed Aug 4, 2022
1 parent 33530e7 commit 65a6de4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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':

Expand Down

0 comments on commit 65a6de4

Please sign in to comment.