-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[github CI] move paddle fuzzy test to weekly test #31945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[github CI] move paddle fuzzy test to weekly test #31945
Conversation
Signed-off-by: HU Yuan2 <[email protected]>
Signed-off-by: HU Yuan2 <[email protected]>
Signed-off-by: HU Yuan2 <[email protected]>
Signed-off-by: HU Yuan2 <[email protected]>
10c83dc
to
4b0d2b5
Compare
.github/workflows/fuzzy.yml
Outdated
@@ -0,0 +1,202 @@ | |||
name: fuzzy (Ubuntu 22.04, Python 3.11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to create a separate workflow. It would be better to create a new job in the already existing workflow: ubuntu_22.yml
, similar to
openvino/.github/workflows/ubuntu_22.yml
Line 150 in 46c1abe
Conformance: |
There would be no need to build OV from scratch.
It will need the following trigger:
openvino/.github/workflows/ubuntu_22.yml
Line 406 in 46c1abe
if: ${{ github.event_name == 'schedule' }} |
The Ubuntu 22.04 workflow already runs on a schedule basis, every Wednesday and Saturday, so the only thing needed is to transfer the
Fuzzy_Tests
job from this file into ubuntu_22.yml
and delete this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already remove the fuzzy.yml and add paddle fuzzy test in test job C++ unit test with condition event schedule, ubuntu_22.yml will trigger C++ unit test. so I think ubuntu_22.yml should trigger the paddle fuzzy test
Signed-off-by: HU Yuan2 <[email protected]>
…56-hu/openvino into huyuan/move_to_nightly
Signed-off-by: HU Yuan2 <[email protected]>
${{ env.INSTALL_TEST_DIR }}/paddle_tests --gtest_filter="-PaddleFuzzyOpTest*" --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-PaddleTests.xml | ||
- name: PaddlePaddle frontend Fuzzy Op tests | ||
if: ${{ github.event_name == 'schedule' && fromJSON(inputs.affected-components).PDPD_FE.test && runner.os != 'Windows' }} # Ticket: 149651 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: ${{ github.event_name == 'schedule' && fromJSON(inputs.affected-components).PDPD_FE.test && runner.os != 'Windows' }} # Ticket: 149651 | |
if: ${{ inputs.event == 'schedule' && runner.os != 'Windows' }} # Ticket: 149651 |
.github/workflows/job_cxx_unit_tests.yml
is a reusable workflow and does not have the github
context. You should pass the event_name
into the inputs
from the parent workflow and use it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed, I use input.event_name and add event_name as input in ubunut_22.yml, please help to check if it is ok, thanks
Signed-off-by: HU Yuan2 <[email protected]>
@@ -308,6 +308,7 @@ jobs: | |||
image: ${{ fromJSON(needs.docker.outputs.images).ov_test.ubuntu_22_04_x64 }} | |||
affected-components: ${{ needs.smart_ci.outputs.affected_components }} | |||
os: 'ubuntu_22_04' | |||
event_name: ${{ github.event_name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This input should be added to the inputs
section of the job_cxx_unit_tests.yml
file: https://github.com/openvinotoolkit/openvino/pull/31945/files#diff-955a3f4fdb6b69c2b82850658e1e5dcb524a203cb2aec2636a6cd45433e88620R5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Signed-off-by: HU Yuan2 <[email protected]>
Signed-off-by: HU Yuan2 <[email protected]>
${{ env.INSTALL_TEST_DIR }}/paddle_tests --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-PaddleTests.xml | ||
${{ env.INSTALL_TEST_DIR }}/paddle_tests --gtest_filter="-PaddleFuzzyOpTest*" --gtest_print_time=1 --gtest_output=xml:${{ env.INSTALL_TEST_DIR }}/TEST-PaddleTests.xml | ||
|
||
- name: PaddlePaddle frontend Fuzzy Op tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The - name
is misaligned:
- name: PaddlePaddle frontend Fuzzy Op tests | |
- name: PaddlePaddle frontend Fuzzy Op tests |
Signed-off-by: HU Yuan2 <[email protected]>
Details:
Tickets: