-
Notifications
You must be signed in to change notification settings - Fork 46
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 issues related to the GitHub action upload-artifact
#2188
base: main
Are you sure you want to change the base?
Conversation
- https://github.com/astronomer/astro-sdk/actions/runs/10957200761/job/30424844404\?pr\=2187 - issue that would come after, similar to what we experienced in the Ray Provider and Cosmos projects
…h without GH actions cancelling each other, as seen in https://github.com/astronomer/astro-sdk/actions/runs/10957453565/job/30425642217\?pr\=2188
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.
We need to apply the two recommended commits before merging this PR. They are in place only so we can validate the changes to the CI workflow within this branch.
@@ -1,16 +1,10 @@ | |||
name: Build and test astro Python SDK | |||
on: | |||
push: | |||
branches: [ 'main', 'release-**' ] | |||
branches: [ 'main', 'release-**', 'fix-ci' ] |
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.
branches: [ 'main', 'release-**', 'fix-ci' ] | |
branches: [ 'main', 'release-**' ] |
- 'python-sdk/**' | ||
- '.github/workflows/ci-python-sdk.yaml' |
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.
- 'python-sdk/**' | |
- '.github/workflows/ci-python-sdk.yaml' | |
- 'python-sdk/**' | |
- '.github/workflows/ci-python-sdk.yaml' | |
pull_request: | |
branches: [ 'main', 'release-**' ] | |
paths: | |
- 'python-sdk/**' | |
- '.github/workflows/ci-python-sdk.yaml' | |
- '*' |
@@ -601,6 +602,7 @@ jobs: | |||
name: constraints-${{ matrix.python }}-${{ matrix.airflow }} | |||
path: ./python-sdk/constraints-${{ matrix.python }}-${{ matrix.airflow }} | |||
if-no-files-found: error | |||
include-hidden-files: true | |||
|
|||
Code-Coverage: | |||
if: github.event.action != 'labeled' |
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 just noticed some tests failed due to uploading artefacts with the same name; this has to be addressed before we merge this PR. This project thas not been actively maintained for a while, so we may uncover other issues before this PR can be merged.
Fix CI issues, as experienced in https://github.com/astronomer/astro-sdk/actions/runs/10957200761/job/30424844404\?pr\=2187
This PR also fixes the issue that would come after, similar to what we experienced in the Ray Provider and Cosmos projects.