Skip to content

Conversation

mikeland73
Copy link
Contributor

@mikeland73 mikeland73 commented Mar 27, 2023

Summary

This fixed a bad path (was missing root dir) when writing .devbox/version file.

I also changed out cli-tests so that it runs example tests in PRs (but we should not require them)

How was it tested?

tests

@mikeland73 mikeland73 requested review from gcurtis and savil March 27, 2023 20:23
# This is an optimization that runs tests twice, with and without
# the examples. We can require non-example tests to complete before
# merging, while keeping the others as an additional non-required signal
run-example-tests: [true]
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't quite follow how the code here leads to:

require non-example tests to complete before
# merging, while keeping the others as an additional non-required signal

would you mind explaining, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed the matrix strategy to one that is simpler to read. The general logic is:

In PRs run tests with and without examples. Only the non-example one is blocking. We can further improve this in the future by making the examples test only run examples and nothing else.

In main only run tests with examples.

Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks, it makes more sense now.

Only the non-example one is blocking.

Where is this logic enabled?

Copy link
Collaborator

Choose a reason for hiding this comment

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

cc @mikeland86 still curious about this question ^^

@mikeland73 mikeland73 requested a review from savil March 27, 2023 21:08
@mikeland73 mikeland73 merged commit a883e15 into main Mar 27, 2023
@mikeland73 mikeland73 deleted the landau/fix branch March 27, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants