Skip to content

GH Actions: fix the pipeline - #564

Merged
teocns merged 5 commits into
mainfrom
ci/upgrades
Dec 11, 2024
Merged

GH Actions: fix the pipeline#564
teocns merged 5 commits into
mainfrom
ci/upgrades

Conversation

@teocns

@teocns teocns commented Dec 10, 2024

Copy link
Copy Markdown
Contributor

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
@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