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

Update dependencies and tests #7

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

jehrhardt
Copy link

To use this library in a fresh Phoenix project, the dependencies must be updated. Otherwise, there will be version conflicts that are not resolvable for mix.

This pull request also adds the Docker based test infrastructure from gotrue-js to replace HTTP mocks. The tests have been adjusted to work now with a real gotrue server.

Also a CI Github action has been added to ensure tests are running before a pull request gets merged.

The infrastructure has been copied from gotrue-js project. Not all parts
are used currently, but with additional test coverage, this will change.
Faker is used to generate unique test data.
The test only worked against mocks. But by running against a real
gotrue instance, the test results are more meaningful.
This will ensure the tests can be checked for a pull request.
Older Elixir versions are not available for OTP 25 and 26 in Github
actions.
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.

None yet

1 participant