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

chore(ci): breakup GH test.yml #8027

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

chore(ci): breakup GH test.yml #8027

wants to merge 6 commits into from

Conversation

mehulkar
Copy link
Contributor

@mehulkar mehulkar commented Apr 23, 2024

turbopack and turborepo tests are often blocking each other and
there is no good reason to keep them all in one workflow. This
PR separates them. Since linting and JS packages are not cleanly
separated between the projects, they get their own workflows as well

Closes TURBO-2868

Copy link

vercel bot commented Apr 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web 🔄 Building (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:07am
examples-kitchensink-blog 🔄 Building (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:07am
examples-nonmonorepo 🔄 Building (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:07am
rust-docs 🔄 Building (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 1:07am
6 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:07am
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:07am
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:07am
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:07am
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:07am
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 1:07am

Copy link
Contributor

github-actions bot commented Apr 23, 2024

🟢 Turbopack Benchmark CI successful 🟢

Thanks

Copy link
Contributor

github-actions bot commented Apr 23, 2024

✅ This change can build next-swc

Copy link
Contributor

github-actions bot commented Apr 23, 2024

⚠️ CI failed ⚠️

The following steps have failed in CI:

  • Turbopack Rust tests (mac/win, non-blocking)

See workflow summary for details

turbopack and turborepo tests are often blocking each other and
there is no good reason to keep them all in one workflow. This
PR separates them. Since linting and JS packages are not cleanly
separated between the projects, they get their own workflows as well
.github/workflows/lint.yml Outdated Show resolved Hide resolved
uses: ./.github/actions/setup-turborepo-environment
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
node-version: "20"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

at some point we'll add node 18 to this matrix, JS packages should work on node 18

Copy link
Member

@tknickman tknickman left a comment

Choose a reason for hiding this comment

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

How will this solve the required checks issue that caused us to merge these into one action last time?

@mehulkar
Copy link
Contributor Author

How will this solve the required checks issue that caused us to merge these into one action last time?

I think the required check thing is handled by the "Determine Jobs" job in each one. IIUC, any job that is a required check and only runs on some paths needs this handling. All the broken up workflows are duplicating that logic, so there's a final "done" step in each.

run: |
cargo groups clippy turborepo-libraries --features rustls-tls -- --deny clippy::all

- name: Run ast-grep lints
Copy link
Member

Choose a reason for hiding this comment

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

Is this accounted for in Turbopack still?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants