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: Fix and enhance Applitools workflows #20071

Merged
merged 4 commits into from
May 16, 2022
Merged

chore: Fix and enhance Applitools workflows #20071

merged 4 commits into from
May 16, 2022

Conversation

geido
Copy link
Member

@geido geido commented May 15, 2022

SUMMARY

This PR enhances the Applitools Storybook workflow to run cached-dependencies. Also, it fixes an issue with the Applitools Cypress workflow not running in CI.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented May 15, 2022

Codecov Report

Merging #20071 (a8d3a67) into master (f43dbc0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20071   +/-   ##
=======================================
  Coverage   66.37%   66.37%           
=======================================
  Files        1715     1715           
  Lines       64179    64179           
  Branches     6753     6753           
=======================================
  Hits        42602    42602           
  Misses      19859    19859           
  Partials     1718     1718           
Flag Coverage Δ
javascript 51.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f43dbc0...a8d3a67. Read the comment docs.

Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

LGTM! A few non-blocking comments

runs-on: ubuntu-latest
runs-on: ubuntu-20.04
Copy link
Member

Choose a reason for hiding this comment

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

We should probably pin all workflows to ubuntu-20.04 (let's do it in a follow-up)

Comment on lines -39 to +40
- uses: actions/checkout@v3
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
Copy link
Member

Choose a reason for hiding this comment

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

bycatch: we should probably also bump all actions/checkout@v2 to actions/checkout@v3 (also in that same follow-up).

Comment on lines -62 to +68
- name: Set up Node.js
uses: actions/setup-node@v3.1.1
- name: Setup Node.js
uses: actions/setup-node@v2
Copy link
Member

Choose a reason for hiding this comment

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

Same here - I'd rather use actions/setup-node@v3 as it uses Node 16 (https://github.com/actions/setup-node/releases/tag/v3.0.0) - any reason why we're tagging v2?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this was just a copy and paste error on my side and also because most of the other actions are using v2. Let me do this in the follow-up as well so I can test all these changes you suggested locally.

@geido geido merged commit 67d4318 into apache:master May 16, 2022
hiboyang pushed a commit to datapunchorg/superset that referenced this pull request May 19, 2022
* Enhance workflow

* Fix failing workflow

* Enhance storybook with cached-dependencies
philipher29 pushed a commit to ValtechMobility/superset that referenced this pull request Jun 9, 2022
* Enhance workflow

* Fix failing workflow

* Enhance storybook with cached-dependencies
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 2.0.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 2.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants