mirror of
https://github.com/dragonflydb/dragonfly
synced 2024-11-21 23:19:53 +00:00
feat(regression test) : add regression test that run in optimiztion mode (#900)
* feat(regression test) : add run in opimiztion mode Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
7ae316a85d
commit
4a5d2f2a9a
12
.github/workflows/regression-tests.yml
vendored
12
.github/workflows/regression-tests.yml
vendored
@ -1,17 +1,11 @@
|
||||
name: Regression Tests
|
||||
|
||||
env:
|
||||
BUILD_TYPE: Debug
|
||||
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0/3 * * *'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run_replication:
|
||||
description: 'run replication pytests'
|
||||
type: boolean
|
||||
required: true
|
||||
|
||||
|
||||
jobs:
|
||||
@ -21,6 +15,7 @@ jobs:
|
||||
matrix:
|
||||
# Test of these containers
|
||||
container: ["ubuntu-dev:20"]
|
||||
build-type: [Debug, Release]
|
||||
timeout-minutes: 30
|
||||
|
||||
container:
|
||||
@ -36,7 +31,7 @@ jobs:
|
||||
- name: Configure & Build
|
||||
run: |
|
||||
apt update && apt install -y pip
|
||||
cmake -B ${GITHUB_WORKSPACE}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja \
|
||||
cmake -B ${GITHUB_WORKSPACE}/build -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -GNinja \
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
|
||||
cd ${GITHUB_WORKSPACE}/build && ninja dragonfly
|
||||
@ -55,7 +50,6 @@ jobs:
|
||||
pytest -sxvr dragonfly --ignore=dragonfly/replication_test.py
|
||||
- name: Run PyTests replication test
|
||||
timeout-minutes: 15
|
||||
#if: ${{ inputs.run_replication }}
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}/tests
|
||||
export DRAGONFLY_PATH="${GITHUB_WORKSPACE}/build/dragonfly" # used by PyTests
|
||||
|
Loading…
Reference in New Issue
Block a user