-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Trigger turborepo tests in CI correctly #4717
Conversation
mehulkar
commented
Apr 26, 2023
- integration tests when integration tests change or any turborepo src changes
- e2e tests when e2e tests or any turborepo src changes
- change ids so they're more clear about which file changes matter when
- integration tests when integration tests change or any turborepo src changes - e2e tests when e2e tests or any turborepo src changes - change ids so they're more clear about which file changes matter when
The latest updates on your projects. Learn more about Vercel for Git ↗︎
9 Ignored Deployments
|
cli/** | ||
crates/turborepo* | ||
crates/turborepo*/** | ||
crates/turbo-updater |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These crates patterns were incomplete, so I'm using the existing turborepo_rust
definition above to determine when to run integration and e2e tests
go_e2e: ${{ steps.ci.outputs.diff != '' || steps.go.outputs.diff != '' || steps.go_e2e.outputs.diff != '' }} | ||
go: ${{ steps.ci.outputs.diff != '' || steps.turborepo_go.outputs.diff != '' }} | ||
go_e2e: ${{ steps.ci.outputs.diff != '' || steps.turborepo_go.outputs.diff != '' || steps.turborepo_rust.outputs.diff != '' || steps.turborepo_e2e.outputs.diff != '' }} | ||
go_integration: ${{ steps.ci.outputs.diff != '' || steps.turborepo_go.outputs.diff != '' || steps.turborepo_rust.outputs.diff != '' || steps.turborepo_integration.outputs.diff != '' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e2e and integration tests now depend on all go and rust code, and also their respective test workspaces
✅ This change can build |
The Integration tests failed here because this branch is not rebased after #4712 was merged. Since the tests or the source themselves haven't changed here, I'm going to merge as-is |
|