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

Improve cirq_compatibility.yaml #817

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

mhucka
Copy link
Member

@mhucka mhucka commented Dec 4, 2024

This refactors the entire workflow. Improvements:

  • Caches pip-downloaded Python packages
  • Uses a Bazel setup action that caches Bazel installations
  • Allows Bazel build artifacts to be downloaded – useful when debugging
  • Adds a workflow_dispatch target to enable manual invocation of workflow
  • Adds options to the workflow dispatch for controlling caching

This refactors the entire workflow. Improvements:
- Caches pip-downloaded Python packages
- Uses a Bazel setup action that caches Bazel installations
- Adds more debugging output
- Adds a workflow_dispatch target to enable manual invocation
- Adds options to manual invocation to control caching
Changing the settings in test_all.sh should be left to a separate PR.
Also, my setting for the timeout should go into cirq_compatibility.yml.
Not all the tests are actually unit tests, so let's not call it that.
Also, don't say "nightly" because if we ever change the schedule,
it wouldn't be accurate anymore.
Pull_request was only temporary so that I could see the workflow
run. Once this is in the main branch, I should be able to use
the workflow dispatch feature.
@mhucka mhucka changed the title Improve cirq_compatibility.yml nightly workflow Improve cirq_compatibility.yaml Dec 4, 2024
@mhucka mhucka marked this pull request as ready for review December 4, 2024 01:19
@mhucka mhucka merged commit ce93e84 into tensorflow:master Dec 4, 2024
6 of 7 checks passed
@mhucka mhucka added area/code-health Concerns stability, quality, technical debt, etc. area/ci Concerns continuous integration workflows and infrastructure labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Concerns continuous integration workflows and infrastructure area/code-health Concerns stability, quality, technical debt, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant