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

SDK Workflows Update #361

Merged
merged 122 commits into from
Dec 11, 2024
Merged

SDK Workflows Update #361

merged 122 commits into from
Dec 11, 2024

Conversation

bpolania
Copy link
Collaborator

Description

This github workflow upgrade updates the pr-internal workflow so it runs integration tests only when merging to dev.

  • Based on the type of event, pull_request or push, it will run either unit test or integration tests reusable workflows.
  • As a part of this upgrade two reusable workflows were created, here is the PR for that update: Origin/bpolania/workflows gha-workflows#100
  • The Turbo script was also update to allow integration tests runs
  • Removed the timestamp requirement for push events.

Test Plan

To test this completely it's necessary to make a PR and merge it.

bonnie57 and others added 30 commits October 22, 2024 10:36
- Internal and External PRs should only call `unit` test cases.
- Integration test cases should only trigger when a PR is merged on `dev`
- Removed all the .env variables that were not being used.
- Removed all the references to `sepolia` and changed when necessary to `odyssey`
- Removed Anvil
package.json Outdated
@@ -10,6 +10,7 @@
"lint": "turbo run lint",
"fix": "turbo run fix",
"test": "turbo run test --no-cache --concurrency=1",
"test:integration": "turbo run test:integration --no-cache --concurrency=1",
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do you limit the concurrency of 1? If you don't have a limit, you can run fast.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Contributor

@AndyBoWu AndyBoWu left a comment

Choose a reason for hiding this comment

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

LGTM

@bpolania bpolania merged commit 56c2c9c into dev Dec 11, 2024
9 checks passed
@bpolania bpolania deleted the origin/dev-bpolania/workflows branch December 11, 2024 19:57
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.

3 participants