Skip to content

Run Storage Node tests in CI #8375

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

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Run Storage Node tests in CI #8375

merged 2 commits into from
Aug 22, 2024

Conversation

dlarocque
Copy link
Contributor

@dlarocque dlarocque commented Jul 18, 2024

The script that runs the tests in CI accepts a -s flag we can use to pass one test command we want to run in CI. We were passing two commands, and only the first one (test:browser) was being run, skipping the Node tests. Now we only pass one command test, which runs both.

Since the Node tests in storage are currently failing, this means CI is now red until we fix it.

Question: Do we need to merge the fix for storage into this branch, so that we avoid CI being red in master?

@dlarocque dlarocque requested a review from hsubox76 July 18, 2024 15:10
Copy link

changeset-bot bot commented Jul 18, 2024

⚠️ No Changeset found

Latest commit: 264059e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dlarocque dlarocque marked this pull request as ready for review July 18, 2024 15:10
@dlarocque dlarocque requested review from maneesht, tonyjhuang and a team as code owners July 18, 2024 15:10
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 18, 2024

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jul 18, 2024

@hsubox76
Copy link
Contributor

Question: Do we need to merge the fix for storage into this branch, so that we avoid CI being red in master?

Yes, we can't merge this into master as is.

The script that runs the tests in CI accepts a `-s` flag we use to pass
the test command we want to run in CI. We were passing two commands, and
only the first one (`test:browser`) was being run, skipping the Node
tests. Now we only pass one command `test`, which runs both.
Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

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

My only comment would be that I guess we deliberately removed the lint job from ci tests in order to run them in a separate workflow so I think technically we make another script here that doesn't run lint (seems to be called "test:all" in other packages), but I don't think it's that important.

@dlarocque
Copy link
Contributor Author

My only comment would be that I guess we deliberately removed the lint job from ci tests in order to run them in a separate workflow so I think technically we make another script here that doesn't run lint (seems to be called "test:all" in other packages), but I don't think it's that important.

I agree that we shouldn't run lint when testing, but I noticed that a lot of packages do this. Is this something we want to change in all packages?

@hsubox76
Copy link
Contributor

My only comment would be that I guess we deliberately removed the lint job from ci tests in order to run them in a separate workflow so I think technically we make another script here that doesn't run lint (seems to be called "test:all" in other packages), but I don't think it's that important.

I agree that we shouldn't run lint when testing, but I noticed that a lot of packages do this. Is this something we want to change in all packages?

If it's in other packages, we can do another PR that gets them all later. This PR should be good to go.

@dlarocque dlarocque merged commit c6a8851 into main Aug 22, 2024
35 checks passed
@dlarocque dlarocque deleted the dlarocque/ci-fix branch August 22, 2024 14:17
@firebase firebase locked and limited conversation to collaborators Sep 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants