Skip to content

Commit 67d1511

Browse files
authored
Add flag to disable visual tests. (#1842)
1 parent 4c798e0 commit 67d1511

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ jobs:
396396
name: UI html visual tests
397397
runs-on: ubuntu-22.04
398398
needs: changed_files
399-
if: ${{ needs.changed_files.outputs.evidently_any_modified == 'true' }}
399+
if: ${{ needs.changed_files.outputs.evidently_any_modified == 'true' && vars.ENABLE_VISUAL_TESTS == 'true' }}
400400

401401
steps:
402402
- name: ⬇️ Checkout repo

examples/cookbook/guardrails.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"def my_validator(data: str) -> bool:\n",
2929
" return len(data) <= 10\n",
3030
"\n",
31-
"\n",
3231
"def my_validator_2(data: str) -> bool:\n",
3332
" return len(data) >= 10"
3433
]

0 commit comments

Comments
 (0)