Skip to content

Update metrics/tarantool/memtx.lua #952

Update metrics/tarantool/memtx.lua

Update metrics/tarantool/memtx.lua #952

Workflow file for this run

name: Tests
on:
push:
branches:
- '**'
paths-ignore:
- 'doc/**'
jobs:
test:
strategy:
fail-fast: false
matrix:
tarantool:
- "1.10"
- "2.2"
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "2.8"
cartridge:
- ""
- "1.2.0"
- "2.1.2"
- "2.4.0"
- "2.5.1"
- "2.6.0"
- "2.7.9"
include:
- tarantool: "2.11"
cartridge: "2.7.9"
- tarantool: "2.11"
cartridge: ""
- tarantool: "2.10"
cartridge: "2.7.9"
- tarantool: "2.10"
cartridge: "2.8.6"
- tarantool: "2.11"
cartridge: "2.8.6"
- tarantool: "2.10"
cartridge: ""
- tarantool: "2.11"
cartridge: "2.9.0"
- tarantool: "2.11"
cartridge: "2.10.0"
- tarantool: "3.0"
cartridge: ""
- tarantool: "3.1"
cartridge: ""
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: tarantool/setup-tarantool@v3
with:
tarantool-version: ${{ matrix.tarantool }}
# Stop Mono server. This server starts and listens to 8084 port that is
# used for tests.
- name: 'Stop Mono server'
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true
- name: Setup tt
run: |
curl -L https://tarantool.io/release/2/installer.sh | sudo bash
sudo apt install -y tt
tt version
- name: lint
run: make lint
env:
CARTRIDGE_VERSION: ${{ matrix.cartridge }}
- name: test
run: make test_with_coverage_report
packpack:
runs-on: ubuntu-20.04
needs: test
steps:
- uses: actions/checkout@v4
- name: packpack
run: |
git clone https://github.com/packpack/packpack.git packpack
OS=el DIST=8 packpack/packpack
ls -l build/
promtool:
runs-on: ubuntu-20.04
strategy:
matrix:
tarantool:
- "2.11"
cartridge:
- "2.10.0"
include:
- tarantool: "3.1"
cartridge: ""
needs: test
steps:
- uses: actions/checkout@v4
- uses: tarantool/setup-tarantool@v3
with:
tarantool-version: ${{ matrix.tarantool }}
- name: Setup tt
run: |
curl -L https://tarantool.io/release/2/installer.sh | sudo bash
sudo apt install -y tt
tt version
- uses: actions/setup-go@v5
with:
go-version: '1.15'
- name: promtool test
env:
CARTRIDGE_VERSION: ${{ matrix.cartridge }}
run: |
GO111MODULE=on go get github.com/prometheus/prometheus/cmd/promtool@a6be548dbc17780d562a39c0e4bd0bd4c00ad6e2
make test_promtool