Skip to content

Commit

Permalink
exclude kfp_ray from transfor test workflow and change noop code
Browse files Browse the repository at this point in the history
Signed-off-by: David Wood <[email protected]>
  • Loading branch information
daw3rd committed Sep 19, 2024
1 parent c0f4935 commit 0a09daa
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test-code-code2parquet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/code/code2parquet/**"
- "data-processing-lib/**"
- "!transforms/code/code2parquet/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/code/code2parquet/**"
- "data-processing-lib/**"
- "!transforms/code/code2parquet/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-code-code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/code/code_quality/**"
- "data-processing-lib/**"
- "!transforms/code/code_quality/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/code/code_quality/**"
- "data-processing-lib/**"
- "!transforms/code/code_quality/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-code-header_cleanser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/code/header_cleanser/**"
- "data-processing-lib/**"
- "!transforms/code/header_cleanser/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/code/header_cleanser/**"
- "data-processing-lib/**"
- "!transforms/code/header_cleanser/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-code-malware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/code/malware/**"
- "data-processing-lib/**"
- "!transforms/code/malware/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/code/malware/**"
- "data-processing-lib/**"
- "!transforms/code/malware/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-code-proglang_select.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/code/proglang_select/**"
- "data-processing-lib/**"
- "!transforms/code/proglang_select/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/code/proglang_select/**"
- "data-processing-lib/**"
- "!transforms/code/proglang_select/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-code-repo_level_ordering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/code/repo_level_ordering/**"
- "data-processing-lib/**"
- "!transforms/code/repo_level_ordering/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/code/repo_level_ordering/**"
- "data-processing-lib/**"
- "!transforms/code/repo_level_ordering/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-language-doc_chunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/language/doc_chunk/**"
- "data-processing-lib/**"
- "!transforms/language/doc_chunk/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/language/doc_chunk/**"
- "data-processing-lib/**"
- "!transforms/language/doc_chunk/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-language-doc_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/language/doc_quality/**"
- "data-processing-lib/**"
- "!transforms/language/doc_quality/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/language/doc_quality/**"
- "data-processing-lib/**"
- "!transforms/language/doc_quality/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-language-lang_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/language/lang_id/**"
- "data-processing-lib/**"
- "!transforms/language/lang_id/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/language/lang_id/**"
- "data-processing-lib/**"
- "!transforms/language/lang_id/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-language-pdf2parquet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/language/pdf2parquet/**"
- "data-processing-lib/**"
- "!transforms/language/pdf2parquet/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/language/pdf2parquet/**"
- "data-processing-lib/**"
- "!transforms/language/pdf2parquet/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-language-pii_redactor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/language/pii_redactor/**"
- "data-processing-lib/**"
- "!transforms/language/pii_redactor/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/language/pii_redactor/**"
- "data-processing-lib/**"
- "!transforms/language/pii_redactor/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-language-text_encoder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/language/text_encoder/**"
- "data-processing-lib/**"
- "!transforms/language/text_encoder/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/language/text_encoder/**"
- "data-processing-lib/**"
- "!transforms/language/text_encoder/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-transform.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "@TARGET_TRANSFORM_DIR@/**"
- "data-processing-lib/**"
- "!@TARGET_TRANSFORM_DIR@/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "@TARGET_TRANSFORM_DIR@/**"
- "data-processing-lib/**"
- "!@TARGET_TRANSFORM_DIR@/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-doc_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/doc_id/**"
- "data-processing-lib/**"
- "!transforms/universal/doc_id/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/doc_id/**"
- "data-processing-lib/**"
- "!transforms/universal/doc_id/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-ededup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/ededup/**"
- "data-processing-lib/**"
- "!transforms/universal/ededup/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/ededup/**"
- "data-processing-lib/**"
- "!transforms/universal/ededup/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-fdedup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/fdedup/**"
- "data-processing-lib/**"
- "!transforms/universal/fdedup/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/fdedup/**"
- "data-processing-lib/**"
- "!transforms/universal/fdedup/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/filter/**"
- "data-processing-lib/**"
- "!transforms/universal/filter/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/filter/**"
- "data-processing-lib/**"
- "!transforms/universal/filter/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-html2parquet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/html2parquet/**"
- "data-processing-lib/**"
- "!transforms/universal/html2parquet/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/html2parquet/**"
- "data-processing-lib/**"
- "!transforms/universal/html2parquet/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-noop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/noop/**"
- "data-processing-lib/**"
- "!transforms/universal/noop/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/noop/**"
- "data-processing-lib/**"
- "!transforms/universal/noop/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-profiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/profiler/**"
- "data-processing-lib/**"
- "!transforms/universal/profiler/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/profiler/**"
- "data-processing-lib/**"
- "!transforms/universal/profiler/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-resize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/resize/**"
- "data-processing-lib/**"
- "!transforms/universal/resize/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/resize/**"
- "data-processing-lib/**"
- "!transforms/universal/resize/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-universal-tokenization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
paths:
- "transforms/universal/tokenization/**"
- "data-processing-lib/**"
- "!transforms/universal/tokenization/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand All @@ -27,6 +28,7 @@ on:
paths:
- "transforms/universal/tokenization/**"
- "data-processing-lib/**"
- "!transforms/universal/tokenization/**/kfp_ray/**" # This is/will be tested in separate workflow
- "!data-processing-lib/**/test/**"
- "!data-processing-lib/**/test-data/**"
- "!**.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ def __init__(self):
if __name__ == "__main__":
# launcher = NOOPRayLauncher()
launcher = PythonTransformLauncher(NOOPPythonTransformConfiguration())
logger.info("Launching noop transform...")
logger.info("Launching noop transform..")
launcher.launch()

0 comments on commit 0a09daa

Please sign in to comment.