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

GH Actions: fix the pipeline #564

Merged
merged 5 commits into from
Dec 11, 2024
Merged

GH Actions: fix the pipeline #564

merged 5 commits into from
Dec 11, 2024

Conversation

teocns
Copy link
Contributor

@teocns teocns commented Dec 10, 2024

UV Integration and Workflow Improvements

This PR updates our GitHub Actions workflows to use absolute uv managed runtime for the actions listed below.

It also fixes the python tests action which in despite of running on a matrix of runtimes, all environments used python 3.11.

Key Changes

Static Analysis Workflow

  • Added manual trigger support via workflow_dispatch (try gh workflow run)

  • Packages are installed with uv sync --group dev

  • Replaced actions/setup-python with astral-sh/setup-uv@v4

    Do I still need actions/setup-python alongside setup-uv?

  • Removed DIY UV cache, let setup-uv handle it

    This was preiovusly done with intent to support system-installed python actions/setup-python

Actions checklist:

  • add-notebook-examples-to-docs.yml
  • codecov.yml
  • python-publish.yml
  • python-testing.yml
  • static-analysis.yaml
  • tach-check.yml
  • test-notebooks.yml

@teocns teocns changed the title Ci/upgrades GH Actions to use absolute UV runtime Dec 10, 2024
@teocns teocns force-pushed the ci/upgrades branch 12 times, most recently from cd9e4ac to 872d53e Compare December 10, 2024 21:24
@teocns teocns changed the title GH Actions to use absolute UV runtime GH Actions: fix the pipeline Dec 11, 2024
@teocns teocns merged commit 1451de7 into main Dec 11, 2024
15 of 23 checks passed
@teocns teocns deleted the ci/upgrades branch December 11, 2024 00:32
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.

2 participants