Skip to content

feat: update github workflows to install playwright in a separate job#17070

Merged
keithwillcode merged 8 commits into
calcom:mainfrom
Aditya-A-G:feat/update-github-workflows-playwright-install
Oct 15, 2024
Merged

feat: update github workflows to install playwright in a separate job#17070
keithwillcode merged 8 commits into
calcom:mainfrom
Aditya-A-G:feat/update-github-workflows-playwright-install

Conversation

@Aditya-A-G
Copy link
Copy Markdown
Contributor

@Aditya-A-G Aditya-A-G commented Oct 11, 2024

What does this PR do?

This PR moves the Playwright installation into a separate job within the GitHub workflow. The goal is to prevent the Playwright installation from blocking other jobs like builds and unit tests that don't require it, reducing workflow time by around 40 seconds when cached.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • N/A - I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Ensure the Playwright job runs only when the ready-for-e2e label is present.
  • Confirm other jobs like builds, linting, and unit tests are not blocked by the Playwright installation.
  • Check that overall workflow time is reduced by moving Playwright installation to a separate job.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 11, 2024

@Aditya-A-G is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@graphite-app graphite-app Bot requested a review from a team October 11, 2024 18:11
@graphite-app graphite-app Bot added the community Created by Linear-GitHub Sync label Oct 11, 2024
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 11, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added ci area: CI, DX, pipeline, github actions devops foundation Medium priority Created by Linear-GitHub Sync ✨ feature New feature or request labels Oct 11, 2024
@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Oct 11, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (10/11/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (10/11/24)

1 label was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (10/15/24)

1 label was added to this PR based on Keith Williams's automation.

@Praashh
Copy link
Copy Markdown
Contributor

Praashh commented Oct 13, 2024

Hey @Aditya-A-G, thanks for contributing can you please sign CLA?

@Aditya-A-G
Copy link
Copy Markdown
Contributor Author

Hi @Praashh, I've signed the CLA. Thanks!

@Praashh
Copy link
Copy Markdown
Contributor

Praashh commented Oct 13, 2024

Hi @Praashh, I've signed the CLA. Thanks!

thanks, I'll do the final check.

Comment thread .github/workflows/pr.yml Outdated
if: ${{ needs.changes.outputs.has-files-requiring-all-checks == 'true' }}
uses: ./.github/workflows/yarn-install.yml

playwright:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good overall but let’s rename this to install-playwright

Comment thread .github/workflows/pr.yml Outdated
Comment thread .github/workflows/pr.yml Outdated
Comment thread .github/workflows/pr.yml Outdated
Comment thread .github/workflows/pr.yml Outdated
Comment thread .github/workflows/pr.yml Outdated
Comment thread .github/workflows/pr.yml Outdated
keithwillcode
keithwillcode previously approved these changes Oct 15, 2024
Comment thread .github/workflows/pr.yml
Comment thread .github/workflows/pr.yml
Comment thread .github/workflows/pr.yml Outdated
@keithwillcode keithwillcode enabled auto-merge (squash) October 15, 2024 09:51
@keithwillcode keithwillcode merged commit 0b3b268 into calcom:main Oct 15, 2024
@github-actions
Copy link
Copy Markdown
Contributor

E2E results are ready!

keithwillcode added a commit that referenced this pull request Oct 15, 2024
keithwillcode added a commit that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci area: CI, DX, pipeline, github actions community Created by Linear-GitHub Sync devops ✨ feature New feature or request foundation Medium priority Created by Linear-GitHub Sync ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CAL-4487] Update GitHub workflows to install playwright in parallel

4 participants