Skip to content

bump setup-tarantool action to v3 #415

bump setup-tarantool action to v3

bump setup-tarantool action to v3 #415

Workflow file for this run

name: fast_testing
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
linux:
strategy:
fail-fast: false
matrix:
tarantool:
- '2.11'
runs-on: ubuntu-latest
steps:
- name: Install tarantool ${{ matrix.tarantool }}
uses: tarantool/setup-tarantool@v3
with:
tarantool-version: ${{ matrix.tarantool }}
- name: Clone the module
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'tests/requirements.txt'
- name: Start Kafka
uses: ybyzek/[email protected]
with:
type: cp-all-in-one-community
- name: Install Python dependencies
run: pip install -r tests/requirements.txt
- name: Build module
run: |
export MAKEFLAGS=-j8
tarantoolctl rocks STATIC_BUILD=ON make
- name: Run tarantool application
run: TT_LOG=tarantool.log tarantool tests/app.lua > output.log 2>&1 &
- name: Run test
run: KAFKA_HOST=localhost:9092 pytest tests
- name: Print Tarantool logs
if: always()
run: |
cat tarantool.log
cat output.log