Skip to content

Commit

Permalink
chore: Skip tests on doc updates (#4834)
Browse files Browse the repository at this point in the history
* feat: Make entity value_type mandatory with deprecation warning

- Add deprecation warning when value_type is not specified for an entity
- Add test cases to verify deprecation warning behavior
- Prepare for making value_type mandatory in next release

Issue: #4670

Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* style: Fix import sorting in entity files

- Reorder imports according to PEP8
- Group standard library imports together
- Fix ruff linting issues

Co-Authored-By: Francisco Javier Arceo <[email protected]>
Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore: Skip tests for community/docs/examples paths

Co-Authored-By: Francisco Javier Arceo <[email protected]>

---------

Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
  • Loading branch information
1 parent b8ede2a commit d720cdf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- opened
- synchronize
- labeled
paths-ignore:
- 'community/**'
- 'docs/**'
- 'examples/**'

# concurrency is currently broken, see details https://github.com/actions/runner/issues/1532
#concurrency:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr_local_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- opened
- synchronize
- labeled
paths-ignore:
- 'community/**'
- 'docs/**'
- 'examples/**'

jobs:
integration-test-python-local:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/smoke_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: smoke-tests

on: [pull_request]
on:
pull_request:
paths-ignore:
- 'community/**'
- 'docs/**'
- 'examples/**'
jobs:
unit-test-python:
runs-on: ${{ matrix.os }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: unit-tests

on: [pull_request]
on:
pull_request:
paths-ignore:
- 'community/**'
- 'docs/**'
- 'examples/**'
jobs:
unit-test-python:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit d720cdf

Please sign in to comment.