Skip to content

Commit 7202d26

Browse files
committed
Separate test_documentation tests on Docker
1 parent 4ba4e2a commit 7202d26

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/scripts/separate_long_core_tests.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ New-Item -Path ".\" -Name "test_remote_workflow" -ItemType "directory"
77
New-Item -Path ".\" -Name "test_remote_operator" -ItemType "directory"
88
New-Item -Path ".\" -Name "test_service" -ItemType "directory"
99
New-Item -Path ".\" -Name "test_custom_type_field" -ItemType "directory"
10+
New-Item -Path ".\" -Name "test_documentation" -ItemType "directory"
1011
Copy-Item -Path "tests\conftest.py" -Destination ".\test_launcher\"
1112
Copy-Item -Path "tests\conftest.py" -Destination ".\test_server\"
1213
Copy-Item -Path "tests\conftest.py" -Destination ".\test_local_server\"
@@ -16,6 +17,7 @@ Copy-Item -Path "tests\conftest.py" -Destination ".\test_remote_workflow\"
1617
Copy-Item -Path "tests\conftest.py" -Destination ".\test_remote_operator\"
1718
Copy-Item -Path "tests\conftest.py" -Destination ".\test_service\"
1819
Copy-Item -Path "tests\conftest.py" -Destination ".\test_custom_type_field\"
20+
Copy-Item -Path "tests\conftest.py" -Destination ".\test_documentation\"
1921
Copy-Item -Path "tests\test_launcher.py" -Destination ".\test_launcher\"
2022
Copy-Item -Path "tests\test_server.py" -Destination ".\test_server\"
2123
Copy-Item -Path "tests\test_local_server.py" -Destination ".\test_local_server\"
@@ -25,6 +27,7 @@ Copy-Item -Path "tests\test_remote_workflow.py" -Destination ".\test_remote_work
2527
Copy-Item -Path "tests\test_remote_operator.py" -Destination ".\test_remote_operator\"
2628
Copy-Item -Path "tests\test_service.py" -Destination ".\test_service\"
2729
Copy-Item -Path "tests\test_custom_type_field.py" -Destination ".\test_custom_type_field\"
30+
Copy-Item -Path "tests\test_documentation.py" -Destination ".\test_documentation\"
2831
Remove-Item -Path "tests\test_server.py"
2932
Remove-Item -Path "tests\test_launcher.py"
3033
Remove-Item -Path "tests\test_local_server.py"
@@ -33,4 +36,5 @@ Remove-Item -Path "tests\test_workflow.py"
3336
Remove-Item -Path "tests\test_remote_workflow.py"
3437
Remove-Item -Path "tests\test_remote_operator.py"
3538
Remove-Item -Path "tests\test_service.py"
36-
Remove-Item -Path "tests\test_custom_type_field.py"
39+
Remove-Item -Path "tests\test_custom_type_field.py"
40+
Remove-Item -Path "tests\test_documentation.py"

.github/workflows/test_docker.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,15 @@ jobs:
205205
command: |
206206
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results12.xml tests/operators/.
207207
208+
- name: "Test Documentation"
209+
uses: nick-fields/retry@v3
210+
with:
211+
timeout_minutes: 4
212+
max_attempts: 2
213+
shell: bash
214+
command: |
215+
pytest $DEBUG $COVERAGE $RERUNS --junitxml=../tests/junit/test-results13.xml test_documentation/.
216+
208217
# - name: "Test API Entry"
209218
# shell: bash
210219
# working-directory: tests

0 commit comments

Comments
 (0)