Skip to content

test: run integration tests in CI #1430

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 8 commits into from
May 27, 2025
Merged

Conversation

grdsdev
Copy link
Contributor

@grdsdev grdsdev commented May 27, 2025

What kind of change does this PR introduce?

Add a new integration CI job for running:

  • Integration tests
  • Browser compatibility tests

@grdsdev grdsdev requested a review from filipecabaco May 27, 2025 11:06
@grdsdev grdsdev marked this pull request as ready for review May 27, 2025 11:06
- name: Run tests
run: |
npm clean-install
npm run test:integration || npm run test:integration
Copy link
Contributor Author

Choose a reason for hiding this comment

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

need to run this twice, the first one always fail in CI, but the second passes

@filipecabaco any ideia why? maybe first call "warms" realtime, and it fails because it isn't ready yet?

Copy link
Member

Choose a reason for hiding this comment

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

no clue honestly ... supabase cli should guarantee that it's in a good state to be used

@grdsdev grdsdev merged commit d24da55 into next May 27, 2025
3 checks passed
@grdsdev grdsdev deleted the guilherme/ci-browser-integration branch May 27, 2025 11:13
grdsdev added a commit that referenced this pull request Jun 2, 2025
* test: run integration tests in CI

* run test:ingration twice

* Install deno on integration job

* use npm

* run puppeteer with no sandbox

* run browser integration test twice

* trying to fix umd build command

* no need to run browser integration twice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants