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

makre sure to skip the glass cache when editing glass tests #8145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bschnurr
Copy link
Member

Previously we added a cache for the glass tests, but if the PR edits the tests we dont want to use the cache

@bschnurr bschnurr requested a review from a team as a code owner January 21, 2025 18:44
@@ -84,6 +84,9 @@ variables:
value: false # disabled for now because of known issue
- name: SkipGlassCache
value: ${{ parameters.skipGlassCache }}
- ${{ if contains(variables['Build.ChangedFiles'], 'Python/Tests/GlassTests') }}:
Copy link
Member

Choose a reason for hiding this comment

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

This is cool, I didn't know this environment variable existed. Where did you find this? I don't see this defined anywhere in the azdo docs at https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml.

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