Skip to content

Nightly Test

Nightly Test #752

Workflow file for this run

name: Nightly Test
on:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:
env:
# Skip building frontend in tarantoolctl rocks make
CMAKE_DUMMY_WEBUI: true
# Prerequisite for some etcd-related tests
ETCD_PATH: etcd-v2.3.8/etcd
jobs:
run-tests:
strategy:
fail-fast: false
matrix:
tarantool: ['1.10', '2.7', '2.8']
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: tarantool/setup-tarantool@v2
with:
tarantool-version: '${{ matrix.tarantool }}'
nightly-build: true
# Setup etcd
- name: Install etcd
uses: ./.github/actions/setup-etcd
if: runner.os == 'Linux'
with:
etcd-version: v2.3.8
install-prefix: etcd-v2.3.8
# Setup luatest
- name: Cache rocks
uses: actions/cache@v3
id: cache-rocks
with:
path: .rocks/
key: nightly-rocks-${{ hashFiles('*.rockspec') }}-03
-
run: tarantoolctl rocks install luatest 0.5.7
if: steps.cache-rocks.outputs.cache-hit != 'true'
- run: tarantoolctl rocks make
# 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
- run: .rocks/bin/luatest -v
# Cleanup cached paths
- run: tarantoolctl rocks remove cartridge