simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.63k stars 49 forks source link

add e2e tests in CI #160

Open simulot opened 7 months ago

simulot commented 7 months ago

The communication between, immich-go and the current version of immich server should be tested before merging a PR or whenever an new version of the server is released.

To initiate the communication with a freshly installed server, an admin user must be created as it is done for the demo app: https://github.com/immich-app/demo/blob/main/demo-restart.sh

1- Create the admin user using /auth/admin-sign-up endpoint 2- Log in as admin, get the token 3- Create an API key