Skip to content
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

Fix CI test changed file detect issue #512

Merged
merged 3 commits into from
Aug 18, 2024
Merged

Fix CI test changed file detect issue #512

merged 3 commits into from
Aug 18, 2024

Conversation

chensuyue
Copy link
Collaborator

@chensuyue chensuyue commented Aug 18, 2024

Description

The original used base_commit=${{ github.event.pull_request.base.sha }} is freeze when the PR is created. So if the main branch has new changes, the changed files detect will be wrong. For example, b1f5dd7, https://github.com/opea-project/GenAIComps/actions/runs/10414092982/job/28842520622. So many unnecessary test are triggered.
image

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

Signed-off-by: chensuyue <[email protected]>
@chensuyue chensuyue force-pushed the suyue/up_ci branch 2 times, most recently from 794a53b to 6ee903d Compare August 18, 2024 10:23
Signed-off-by: chensuyue <[email protected]>
Signed-off-by: chensuyue <[email protected]>
@chensuyue chensuyue changed the title for test only Fix CI test changed file detect issue Aug 18, 2024
@chensuyue chensuyue added this to the v0.9 milestone Aug 18, 2024
@lvliang-intel lvliang-intel merged commit cd83854 into main Aug 18, 2024
9 checks passed
@lvliang-intel lvliang-intel deleted the suyue/up_ci branch August 18, 2024 11:30
srinarayan-srikanthan pushed a commit to siddhivelankar23/GenAIComps that referenced this pull request Aug 21, 2024
* update wf

Signed-off-by: chensuyue <[email protected]>

* for test

Signed-off-by: chensuyue <[email protected]>

* remove test code

Signed-off-by: chensuyue <[email protected]>

---------

Signed-off-by: chensuyue <[email protected]>
tileintel pushed a commit to siddhivelankar23/GenAIComps that referenced this pull request Aug 22, 2024
* update wf

Signed-off-by: chensuyue <[email protected]>

* for test

Signed-off-by: chensuyue <[email protected]>

* remove test code

Signed-off-by: chensuyue <[email protected]>

---------

Signed-off-by: chensuyue <[email protected]>
Signed-off-by: siddhivelankar23 <[email protected]>
sharanshirodkar7 pushed a commit to predictionguard/pg-GenAIComps that referenced this pull request Sep 3, 2024
* update wf

Signed-off-by: chensuyue <[email protected]>

* for test

Signed-off-by: chensuyue <[email protected]>

* remove test code

Signed-off-by: chensuyue <[email protected]>

---------

Signed-off-by: chensuyue <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants