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
feat: CI runtime improvements #3893
Conversation
10d7bc3
to
8805151
Compare
8805151
to
4e818ba
Compare
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-3893-ki24f765kq-no.a.run.app |
Codecov ReportAll modified and coverable lines are covered by tests ✅ see 269 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
bde4c74
to
d87055f
Compare
5e672a4
to
163e0fd
Compare
8713b45
to
80c7663
Compare
80c7663
to
1fdecd0
Compare
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 think we can also add more granularity when only building changing tests for example. Like here: https://github.com/argilla-io/argilla/pulls
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -e .[server,postgresql,tests,integrations,listeners] |
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.
Isn't there a command to install with --all-extras
? this might lead to unwanted side effects w.r.t. changes we make in the extras.
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 |
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.
maybe it is a good moment to also start testing different python versions?
platforms: linux/arm64 | ||
secrets: inherit | ||
|
||
build_quickstart_docker_image_linux_arm64: |
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.
can't we combine this using a template combined with build_quickstart_docker_image_linux_amd64?
- name: Set huggingface hub credentials | ||
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/releases') | ||
env: | ||
HF_HUB_ACCESS_TOKEN: ${{ secrets.HF_HUB_ACCESS_TOKEN }} | ||
run: echo "Enable HF access token" | ||
|
||
- name: Run tests 📈 | ||
env: | ||
ARGILLA_ENABLE_TELEMETRY: 0 |
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 noticed we are not passing HF_HUB_ACCESS_TOKEN
here but I know we do have some tests for this. Maybe it is a good moment to review this?
Description
WIP
Closes #<issue_number>
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference
tests
)Checklist
CHANGELOG.md
file (See https://keepachangelog.com/)