Bump OSSL #188
Workflow file for this run
This file contains 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: asan_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: | |
runs-on: ubuntu-latest | |
steps: | |
- 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: Setup tt | |
run: | | |
curl -L https://tarantool.io/release/3/installer.sh | bash | |
apt update | |
apt install -y tt | |
- name: Setup Tarantool master | |
run: | | |
tt init | |
tt install tarantool pr/10017 | |
- name: Build module | |
run: | | |
tt rocks STATIC_BUILD=ON ENABLE_ASAN=ON ENABLE_UBSAN=ON make | |
- name: Run tarantool application | |
run: | | |
export TT_LOG=tarantool.log | |
export LSAN_OPTIONS=suppressions=${PWD}/tarantool/asan/lsan.supp | |
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 |