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

test(auth): add integration tests to Auth #280

Merged
merged 12 commits into from
Apr 3, 2024
Merged

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Mar 27, 2024

What kind of change does this PR introduce?

  • Add a new target IntegrationTests
  • Write integration tests for Auth using a production supabase project
  • Set up new CI workflow for running the integration tests

Additional Context

Add a setenv.sh script that loads environment values from a .env file or the shell environment and generates a Swift file with the KEY=VALUE. This is used to grab the SUPABASE_URL and SUPABASE_ANON_KEY from GitHub secrets.

@grdsdev grdsdev force-pushed the test/auth-integration-tests branch 10 times, most recently from c2480a4 to 7607e67 Compare March 27, 2024 15:12
@grdsdev grdsdev marked this pull request as draft March 27, 2024 17:17
@grdsdev grdsdev force-pushed the test/auth-integration-tests branch from fa0e01f to 9b807c2 Compare March 28, 2024 17:03
test: lower expectation timeout

ci: run test library with local supabase

ci: run docker on macos

wip

Revert package folder structure

revert ci
@grdsdev grdsdev force-pushed the test/auth-integration-tests branch from 9b807c2 to a37ff95 Compare April 2, 2024 18:44
@grdsdev grdsdev marked this pull request as ready for review April 3, 2024 11:12
@grdsdev grdsdev merged commit 14e68f2 into main Apr 3, 2024
5 checks passed
@grdsdev grdsdev deleted the test/auth-integration-tests branch April 3, 2024 16:36
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.

1 participant