Skip to content

test: simple skip for flaky test #964

test: simple skip for flaky test

test: simple skip for flaky test #964

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:
# 1.10
- tarantool: "1.10"
cartridge: "2.8.6"
- tarantool: "1.10"
cartridge: "2.9.0"
- tarantool: "1.10"
cartridge: "2.10.0"
- tarantool: "1.10"
cartridge: "2.10.0"
- tarantool: "1.10"
cartridge: "2.11.0"
- tarantool: "1.10"
cartridge: "2.12.1"
# 2.10
- tarantool: "2.10"
cartridge: "2.7.9"
- tarantool: "2.10"
cartridge: "2.8.6"
- tarantool: "2.10"
cartridge: "2.9.0"
- tarantool: "2.10"
cartridge: "2.10.0"
- tarantool: "2.10"
cartridge: "2.10.0"
- tarantool: "2.10"
cartridge: "2.11.0"
- tarantool: "2.10"
cartridge: "2.12.1"
- tarantool: "2.10"
cartridge: ""
# 2.11
- tarantool: "2.11"
cartridge: "2.7.9"
- tarantool: "2.11"
cartridge: "2.8.6"
- tarantool: "2.11"
cartridge: "2.9.0"
- tarantool: "2.11"
cartridge: "2.10.0"
- tarantool: "2.11"
cartridge: "2.11.0"
- tarantool: "2.11"
cartridge: "2.12.1"
- tarantool: "2.11"
cartridge: ""
# 3.x
- 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