Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@tatiana
Copy link
Collaborator

@tatiana tatiana commented Sep 20, 2024

Fix CI issues, as experienced in https://github.com/astronomer/astro-sdk/actions/runs/10957200761/job/30424844404\?pr\=2187

Error: This request has automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

This PR also fixes the issue that would come after, similar to what we experienced in the Ray Provider and Cosmos projects.

Copy link
Collaborator Author

@tatiana tatiana left a 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.

on:
push:
branches: [ 'main', 'release-**' ]
branches: [ 'main', 'release-**', 'fix-ci' ]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
branches: [ 'main', 'release-**', 'fix-ci' ]
branches: [ 'main', 'release-**' ]

Comment on lines 6 to 7
- 'python-sdk/**'
- '.github/workflows/ci-python-sdk.yaml'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- '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'
- '*'

include-hidden-files: true

Code-Coverage:
if: github.event.action != 'labeled'
Copy link
Collaborator Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants