Skip to content

Commit 4c81c35

Browse files
committed
use commit for change filter and flaky cbcx003
1 parent 1cb0326 commit 4c81c35

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
id: filter # Give an ID to this step to reference its outputs
2121
uses: dorny/paths-filter@v3
2222
with:
23+
base: ${{ github.ref }}
2324
filters: |
2425
table_related_paths:
2526
- 'components/dash-table/**'

tests/integration/callbacks/test_callback_context.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import pytest
55

6+
import flaky
7+
68
from dash import Dash, ALL, Input, Output, html, dcc, callback_context, ctx
79

810
from dash.exceptions import PreventUpdate, MissingCallbackContextException
@@ -62,6 +64,7 @@ def on_click(*args):
6264
)
6365

6466

67+
@flaky.flaky(max_runs=3)
6568
def test_cbcx003_no_callback_context():
6669
for attr in ["inputs", "states", "triggered", "response"]:
6770
with pytest.raises(MissingCallbackContextException):

0 commit comments

Comments
 (0)