Skip to content

Introduce TARANTOOL_RUN_AFTER_BOX_CFG hook #1

Introduce TARANTOOL_RUN_AFTER_BOX_CFG hook

Introduce TARANTOOL_RUN_AFTER_BOX_CFG hook #1

Workflow file for this run

name: Run tests
on:
push:
pull_request:
jobs:
run-tests-ce:
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != 'tarantool'
strategy:
matrix:
tarantool: ["1.10", "2.6", "2.7", "2.8", "2.10", "2.11", "3.0"]
fail-fast: false
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@master
- uses: tarantool/setup-tarantool@v3
with:
tarantool-version: '${{ matrix.tarantool }}'
- name: Install tt utility
run: |
curl -L https://tarantool.io/release/2/installer.sh | bash
sudo apt-get -y install tt
- name: Install requirements for community
run: |
cmake -S . -B build
make -C build bootstrap
# This server starts and listen on 8084 port that is used for tests
- name: Stop Mono server
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true
- name: Run linter
run: make -C build lint
- name: Run tests with coverage
run: make -C build selftest-coverage