mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
test(regression-tests): stop replication regression-tests schedual run (#795)
* regression replication will not run on github schedual * allow running regression replication manually Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
49b1ba5b6d
commit
c5e8a627b5
1 changed files with 14 additions and 1 deletions
15
.github/workflows/regression-tests.yml
vendored
15
.github/workflows/regression-tests.yml
vendored
|
@ -7,6 +7,12 @@ on:
|
|||
schedule:
|
||||
- cron: '0 0/6 * * *'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run_replication:
|
||||
description: 'run replication pytests'
|
||||
type: boolean
|
||||
required: true
|
||||
|
||||
|
||||
jobs:
|
||||
build-n-test:
|
||||
|
@ -45,7 +51,14 @@ jobs:
|
|||
pip install -r dragonfly/requirements.txt
|
||||
export DRAGONFLY_PATH="${GITHUB_WORKSPACE}/build/dragonfly" # used by PyTests
|
||||
|
||||
pytest -xvr dragonfly
|
||||
pytest -xvr dragonfly --ignore=dragonfly/replication_test.py
|
||||
|
||||
- name: Run PyTests replication test
|
||||
if: ${{ inputs.run_replication }}
|
||||
run: |
|
||||
cd ${GITHUB_WORKSPACE}/tests
|
||||
export DRAGONFLY_PATH="${GITHUB_WORKSPACE}/build/dragonfly" # used by PyTests
|
||||
pytest -xvs dragonfly/replication_test.py --df alsologtostderr --df vmodule=replica=2
|
||||
|
||||
- name: Send notification on failure
|
||||
if: failure() || cancelled()
|
||||
|
|
Loading…
Reference in a new issue