Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Sep 27, 2023

Summary

Build was already happening in scripts like test:browser but those scripts were missing pretest, meaning that running npm install && npm test:browser may have failed if pretest wasn't run before or if its results were out of date.

Even worse, with such stale data some tests may erroneously succeed.

This also removes a separate pretest step from GitHub Actions as it's no longer needed.

Checklist

Build was already happening in scripts like `test:browser` but those scripts
were missing `pretest`, meaning that running `npm install && npm test:browser`
may have failed if `pretest` wasn't run before or if its results were out of
date.

Even worse, with such stale data some tests may erroneously succeed.

This also removes a separate `pretest` step from GitHub Actions as it's no
longer needed.
@mgol mgol added Needs review Build Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labels Sep 27, 2023
@mgol mgol requested a review from timmywil September 27, 2023 21:58
@mgol mgol self-assigned this Sep 27, 2023
Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

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

I suppose we were always moving in this direction.

@timmywil timmywil removed the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Oct 16, 2023
@mgol mgol merged commit 1ad66ae into jquery:main Oct 16, 2023
@mgol mgol deleted the pretest-before-test branch October 16, 2023 16:54
mgol added a commit that referenced this pull request Oct 16, 2023
Build was already happening in scripts like `test:browser` but those scripts
were missing `pretest`, meaning that running `npm install && npm test:browser`
may have failed if `pretest` wasn't run before or if its results were out of
date.

Even worse, with such stale data some tests may erroneously succeed.

This also removes a separate `pretest` step from GitHub Actions as it's no
longer needed.

Closes gh-5338

(cherry picked from commit 1ad66ae)
@mgol
Copy link
Member Author

mgol commented Oct 16, 2023

Landed on main in 1ad66ae and on 3.x-stable in cd27f30.

@mgol mgol added this to the 3.7.2 milestone Oct 16, 2023
@mgol mgol removed the Needs review label Oct 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

2 participants