mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
chore(regression): send chat notificaiton only on main branch (#1847)
* chore(regression): send chat notificaiton only on main branch Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
99244b1049
commit
55710e40f3
1 changed files with 1 additions and 6 deletions
7
.github/actions/regression-tests/action.yml
vendored
7
.github/actions/regression-tests/action.yml
vendored
|
@ -17,7 +17,6 @@ inputs:
|
|||
required: true
|
||||
type: string
|
||||
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
# bring back timeouts once composite actions start supporting them
|
||||
|
@ -36,8 +35,6 @@ runs:
|
|||
|
||||
pytest --json-report --json-report-file=report.json -svr dragonfly --ignore=dragonfly/replication_test.py
|
||||
|
||||
|
||||
|
||||
- name: Run PyTests replication test
|
||||
if: ${{ inputs.run-only-on-ubuntu-latest == 'false' || matrix.runner == 'ubuntu-latest' }}
|
||||
shell: bash
|
||||
|
@ -50,10 +47,8 @@ runs:
|
|||
pytest --json-report --json-report-file=rep1_report.json -sv dragonfly/replication_test.py --df alsologtostderr --df enable_multi_shard_sync=true
|
||||
pytest --json-report --json-report-file=rep2_report.json -sv dragonfly/replication_test.py --df alsologtostderr --df enable_multi_shard_sync=false
|
||||
|
||||
|
||||
|
||||
- name: Send notification on failure
|
||||
if: failure()
|
||||
if: failure() && github.ref == 'refs/heads/main'
|
||||
shell: bash
|
||||
run: |
|
||||
get_failed_tests() {
|
||||
|
|
Loading…
Reference in a new issue