api: fix address already in use error #273
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: testing | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
tests: | |
# We want to run on external PRs, but not on our own internal | |
# PRs as they'll be run by the push to the branch. | |
# | |
# The main trick is described here: | |
# https://github.com/Dart-Code/Dart-Code/pull/2375 | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
fail-fast: false | |
matrix: | |
tarantool: | |
- 'debug-master' | |
include: | |
# We test role for min supported tarantool version and the latest one. | |
- tarantool: '3.0.2' | |
- tarantool: '3.3.1' | |
env: | |
TNT_DEBUG_PATH: /home/runner/tnt-debug | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Clone the module | |
uses: actions/checkout@v3 | |
- name: Setup tt | |
run: | | |
curl -L https://tarantool.io/release/3/installer.sh | bash | |
sudo apt install -y tt | |
tt version | |
- name: Install Tarantool | |
uses: ./.github/actions/install-tarantool | |
with: | |
tarantool: ${{ matrix.tarantool }} | |
- name: Install requirements | |
run: make deps depname=test | |
if: steps.cache-rocks.outputs.cache-hit != 'true' | |
- run: echo $PWD/.rocks/bin >> $GITHUB_PATH | |
- run: make test | |
coverage: | |
# We want to run on external PRs, but not on our own internal | |
# PRs as they'll be run by the push to the branch. | |
# | |
# The main trick is described here: | |
# https://github.com/Dart-Code/Dart-Code/pull/2375 | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
fail-fast: false | |
env: | |
TNT_DEBUG_PATH: /home/runner/tnt-debug | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Clone the module | |
uses: actions/checkout@v3 | |
- name: Setup tt | |
run: | | |
curl -L https://tarantool.io/release/3/installer.sh | bash | |
sudo apt install -y tt | |
tt version | |
- name: Install Tarantool | |
uses: ./.github/actions/install-tarantool | |
with: | |
tarantool: '3.3' | |
- name: Install requirements | |
run: make deps depname=coverage | |
if: steps.cache-rocks.outputs.cache-hit != 'true' | |
- run: echo $PWD/.rocks/bin >> $GITHUB_PATH | |
- name: Send code coverage to 'coveralls.io' | |
run: make coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |